EntityDisplayFormBase::multistepAjax

public EntityDisplayFormBase::multistepAjax($form, FormStateInterface $form_state) Ajax handler for multistep buttons. File core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 636 Class EntityDisplayFormBase Base class for EntityDisplay edit forms. Namespace Drupal\field_ui\Form Code public function multistepAjax($form, FormStateInterface $form_state) { $trigger = $form_state->getTriggeringElement(); $op = $trigger['#op']; // Pick the elements that need to receive

EntityDisplayFormBase::getTableHeader

abstract protected EntityDisplayFormBase::getTableHeader() Returns an array containing the table headers. Return value array The table header. File core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 894 Class EntityDisplayFormBase Base class for EntityDisplay edit forms. Namespace Drupal\field_ui\Form Code abstract protected function getTableHeader();

EntityDisplayFormBase::getRowRegion

public EntityDisplayFormBase::getRowRegion($row) Returns the region to which a row in the display overview belongs. Parameters array $row: The row element. Return value string|null The region name this row belongs to. File core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 812 Class EntityDisplayFormBase Base class for EntityDisplay edit forms. Namespace Drupal\field_ui\Form Code public function getRowRegion($row) { switch ($row['#row_type']) { case 'field': cas

EntityDisplayFormBase::getRegions

public EntityDisplayFormBase::getRegions() Get the regions needed to create the overview form. Return value array Example usage: return array( 'content' => array( // label for the region. 'title' => $this->t('Content'), // Indicates if the region is visible in the UI. 'invisible' => TRUE, // A message to indicate that there is nothing to be displayed in // the region. 'message' => $this->t('No field is displaye

EntityDisplayFormBase::getRegionOptions

public EntityDisplayFormBase::getRegionOptions() Returns an associative array of all regions. Return value array An array containing the region options. File core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 112 Class EntityDisplayFormBase Base class for EntityDisplay edit forms. Namespace Drupal\field_ui\Form Code public function getRegionOptions() { $options = array(); foreach ($this->getRegions() as $region => $data) { $options[$region] = $data['title'];

EntityDisplayFormBase::getOverviewUrl

abstract protected EntityDisplayFormBase::getOverviewUrl($mode) Returns the Url object for a specific entity (form) display edit form. Parameters string $mode: The form or view mode. Return value \Drupal\Core\Url A Url object for the overview route. File core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 905 Class EntityDisplayFormBase Base class for EntityDisplay edit forms. Namespace Drupal\field_ui\Form Code abstract protected function getOverviewUrl($mode);

EntityDisplayFormBase::getFieldDefinitions

protected EntityDisplayFormBase::getFieldDefinitions() Collects the definitions of fields whose display is configurable. Return value \Drupal\Core\Field\FieldDefinitionInterface[] The array of field definitions File core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 126 Class EntityDisplayFormBase Base class for EntityDisplay edit forms. Namespace Drupal\field_ui\Form Code protected function getFieldDefinitions() { $context = $this->displayContext; return array_filt

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' => '- '

EntityDisplayFormBase::getExtraFields

protected EntityDisplayFormBase::getExtraFields() Returns the extra fields of the entity type and bundle used by this form. Return value array An array of extra field info. See also \Drupal\Core\Entity\EntityManagerInterface::getExtraFields() File core/modules/field_ui/src/Form/EntityDisplayFormBase.php, line 712 Class EntityDisplayFormBase Base class for EntityDisplay edit forms. Namespace Drupal\field_ui\Form Code protected function getExtraFields() { $context = $this->display

EntityDisplayFormBase::getEntityFromRouteMatch

public EntityDisplayFormBase::getEntityFromRouteMatch(RouteMatchInterface $route_match, $entity_type_id) Determines which entity will be used by this form from a RouteMatch object. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The route match. string $entity_type_id: The entity type identifier. Return value \Drupal\Core\Entity\EntityInterface The entity object as determined from the passed-in route match. Overrides EntityForm::getEntityFromRouteMatch File core/modules/fiel