EntityDisplayFormBase::getExtraFieldVisibilityOptions

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') . ' -',
  );
}
doc_Drupal
2016-10-29 09:05:24
Comments
Leave a Comment

Please login to continue.