FieldConfig::isDisplayConfigurable

public FieldConfig::isDisplayConfigurable($context)

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.

Overrides FieldDefinitionInterface::isDisplayConfigurable

See also

\Drupal\Core\Entity\Display\EntityDisplayInterface

File

core/modules/field/src/Entity/FieldConfig.php, line 300

Class

FieldConfig
Defines the Field entity.

Namespace

Drupal\field\Entity

Code

public function isDisplayConfigurable($context) {
  return TRUE;
}
doc_Drupal
2016-10-29 09:10:40
Comments
Leave a Comment

Please login to continue.