You are here

protected property ViewModeSelectorWidgetBase::$viewModes in View Mode Selector 8

List of available view modes.

Type: array $viewModes

File

src/Plugin/Field/FieldWidget/ViewModeSelectorWidgetBase.php, line 21

Class

ViewModeSelectorWidgetBase
Base class for the 'view_mode_selector_*' widgets.

Namespace

Drupal\view_mode_selector\Plugin\Field\FieldWidget

Code

protected $viewModes = [];