You are here

protected function Entity::defineOptions in Views (for Drupal 7) 8.3

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

Overrides RowPluginBase::defineOptions

3 calls to Entity::defineOptions()
View::defineOptions in lib/Views/node/Plugin/views/row/View.php
Overrides Views\system\Plugin\views\row\Entity::defineOptions().
View::defineOptions in lib/Views/user/Plugin/views/row/View.php
Overrides Views\system\Plugin\views\row\Entity::defineOptions().
View::defineOptions in lib/Views/comment/Plugin/views/row/View.php
Overrides Views\system\Plugin\views\row\Entity::defineOptions().
3 methods override Entity::defineOptions()
View::defineOptions in lib/Views/node/Plugin/views/row/View.php
Overrides Views\system\Plugin\views\row\Entity::defineOptions().
View::defineOptions in lib/Views/user/Plugin/views/row/View.php
Overrides Views\system\Plugin\views\row\Entity::defineOptions().
View::defineOptions in lib/Views/comment/Plugin/views/row/View.php
Overrides Views\system\Plugin\views\row\Entity::defineOptions().

File

lib/Views/system/Plugin/views/row/Entity.php, line 69
Definition of Views\system\Plugin\views\row\Entity.

Class

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

Namespace

Views\system\Plugin\views\row

Code

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