protected function EntityRow::defineOptions

Overrides Drupal\views\Plugin\views\row\RowPluginBase::defineOptions().

Overrides RowPluginBase::defineOptions

3 calls to EntityRow::defineOptions()
CommentRow::defineOptions in drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/row/CommentRow.php
Overrides Drupal\views\Plugin\views\row\RowPluginBase::defineOptions().
NodeRow::defineOptions in drupal/core/modules/node/lib/Drupal/node/Plugin/views/row/NodeRow.php
Overrides Drupal\views\Plugin\views\row\RowPluginBase::defineOptions().
UserRow::defineOptions in drupal/core/modules/user/lib/Drupal/user/Plugin/views/row/UserRow.php
Overrides Drupal\views\Plugin\views\row\RowPluginBase::defineOptions().
3 methods override EntityRow::defineOptions()
CommentRow::defineOptions in drupal/core/modules/comment/lib/Drupal/comment/Plugin/views/row/CommentRow.php
Overrides Drupal\views\Plugin\views\row\RowPluginBase::defineOptions().
NodeRow::defineOptions in drupal/core/modules/node/lib/Drupal/node/Plugin/views/row/NodeRow.php
Overrides Drupal\views\Plugin\views\row\RowPluginBase::defineOptions().
UserRow::defineOptions in drupal/core/modules/user/lib/Drupal/user/Plugin/views/row/UserRow.php
Overrides Drupal\views\Plugin\views\row\RowPluginBase::defineOptions().

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/row/EntityRow.php, line 95
Contains \Drupal\views\Plugin\views\row\EntityRow.

Class

EntityRow
Generic entity row plugin to provide a common base for all entity types.

Namespace

Drupal\views\Plugin\views\row

Code

protected function defineOptions() {
  $options = parent::defineOptions();
  $options['view_mode'] = array(
    'default' => '',
  );
  return $options;
}