public BaseFieldDefinition::isDisplayConfigurable($display_context)
Returns whether the display for the field can be configured.
string $display_context: The display context. Either 'view' or 'form'.
bool TRUE if the display for this field is configurable in the given context. If TRUE, the display options returned by getDisplayOptions() may be overridden via the respective entity display.
Overrides FieldDefinitionInterface::isDisplayConfigurable
\Drupal\Core\Entity\Display\EntityDisplayInterface
public function isDisplayConfigurable($display_context) { return isset($this->definition['display'][$display_context]['configurable']) ? $this->definition['display'][$display_context]['configurable'] : FALSE; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Field!BaseFieldDefinition.php/function/BaseFieldDefinition::isDisplayConfigurable/8.1.x