protected EntityDisplayFormBase::getExtraFieldVisibilityOptions()
Returns an array of visibility options for extra fields.
Return value
array An array of visibility options.
File
- core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 826
Class
- EntityDisplayFormBase
- Base class for EntityDisplay edit forms.
Namespace
Drupal\field_ui\Form
Code
protected function getExtraFieldVisibilityOptions() { return array( 'visible' => $this->t('Visible'), 'hidden' => '- ' . $this->t('Hidden') . ' -', ); }
Please login to continue.