function FieldDefinitionInterface::isDisplayConfigurable

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/FieldDefinitionInterface.php \Drupal\Core\Field\FieldDefinitionInterface::isDisplayConfigurable()
  2. 8.9.x core/lib/Drupal/Core/Field/FieldDefinitionInterface.php \Drupal\Core\Field\FieldDefinitionInterface::isDisplayConfigurable()
  3. 11.x core/lib/Drupal/Core/Field/FieldDefinitionInterface.php \Drupal\Core\Field\FieldDefinitionInterface::isDisplayConfigurable()

Returns whether the display for the field can be configured.

Parameters

string $display_context: The display context. Either 'view' or 'form'.

Return value

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.

See also

\Drupal\Core\Entity\Display\EntityDisplayInterface

4 methods override FieldDefinitionInterface::isDisplayConfigurable()
BaseFieldDefinition::isDisplayConfigurable in core/lib/Drupal/Core/Field/BaseFieldDefinition.php
Returns whether the display for the field can be configured.
BaseFieldOverride::isDisplayConfigurable in core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php
Returns whether the display for the field can be configured.
FieldConfig::isDisplayConfigurable in core/modules/field/src/Entity/FieldConfig.php
Returns whether the display for the field can be configured.
FieldDefinition::isDisplayConfigurable in core/lib/Drupal/Core/Field/FieldDefinition.php
Returns whether the display for the field can be configured.

File

core/lib/Drupal/Core/Field/FieldDefinitionInterface.php, line 122

Class

FieldDefinitionInterface
Defines an interface for entity field definitions.

Namespace

Drupal\Core\Field

Code

public function isDisplayConfigurable($display_context);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.