EntityDisplayInterface::setTargetBundle

public EntityDisplayInterface::setTargetBundle($bundle) Sets the bundle to be displayed. Parameters string $bundle: The bundle to be displayed. Return value $this File core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php, line 129 Class EntityDisplayInterface Provides a common interface for entity displays. Namespace Drupal\Core\Entity\Display Code public function setTargetBundle($bundle);

EntityDisplayInterface::setComponent

public EntityDisplayInterface::setComponent($name, array $options = array()) Sets the display options for a component. Parameters string $name: The name of the component. array $options: The display options. Return value $this File core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php, line 57 Class EntityDisplayInterface Provides a common interface for entity displays. Namespace Drupal\Core\Entity\Display Code public function setComponent($name, array $options = array());

EntityDisplayInterface::removeComponent

public EntityDisplayInterface::removeComponent($name) Sets a component to be hidden. Parameters string $name: The name of the component. Return value $this File core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php, line 67 Class EntityDisplayInterface Provides a common interface for entity displays. Namespace Drupal\Core\Entity\Display Code public function removeComponent($name);

EntityDisplayInterface::getTargetEntityTypeId

public EntityDisplayInterface::getTargetEntityTypeId() Gets the entity type for which this display is used. Return value string The entity type id. File core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php, line 95 Class EntityDisplayInterface Provides a common interface for entity displays. Namespace Drupal\Core\Entity\Display Code public function getTargetEntityTypeId();

EntityDisplayInterface::getTargetBundle

public EntityDisplayInterface::getTargetBundle() Gets the bundle to be displayed. Return value string The bundle to be displayed. File core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php, line 119 Class EntityDisplayInterface Provides a common interface for entity displays. Namespace Drupal\Core\Entity\Display Code public function getTargetBundle();

EntityDisplayInterface::getRenderer

public EntityDisplayInterface::getRenderer($field_name) Gets the renderer plugin for a field (e.g. widget, formatter). Parameters string $field_name: The field name. Return value \Drupal\Core\Field\PluginSettingsInterface|null A widget or formatter plugin or NULL if the field does not exist. File core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php, line 87 Class EntityDisplayInterface Provides a common interface for entity displays. Namespace Drupal\Core\Entity\Display Cod

EntityDisplayInterface::getOriginalMode

public EntityDisplayInterface::getOriginalMode() Gets the original view or form mode that was requested. Return value string The original mode that was requested. File core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php, line 111 Class EntityDisplayInterface Provides a common interface for entity displays. Namespace Drupal\Core\Entity\Display Code public function getOriginalMode();

EntityDisplayInterface::getMode

public EntityDisplayInterface::getMode() Gets the view or form mode to be displayed. Return value string The mode to be displayed. File core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php, line 103 Class EntityDisplayInterface Provides a common interface for entity displays. Namespace Drupal\Core\Entity\Display Code public function getMode();

EntityDisplayInterface::getHighestWeight

public EntityDisplayInterface::getHighestWeight() Gets the highest weight of the components in the display. Return value int|null The highest weight of the components in the display, or NULL if the display is empty. File core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php, line 76 Class EntityDisplayInterface Provides a common interface for entity displays. Namespace Drupal\Core\Entity\Display Code public function getHighestWeight();

EntityDisplayInterface::getComponents

public EntityDisplayInterface::getComponents() Gets the display options for all components. Return value array The array of display options, keyed by component name. File core/lib/Drupal/Core/Entity/Display/EntityDisplayInterface.php, line 33 Class EntityDisplayInterface Provides a common interface for entity displays. Namespace Drupal\Core\Entity\Display Code public function getComponents();