You are here

public function EntityExtraFieldInterface::hasDisplayComponent in Entity Extra Field 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/EntityExtraFieldInterface.php \Drupal\entity_extra_field\Entity\EntityExtraFieldInterface::hasDisplayComponent()

Extra field has display component.

Parameters

\Drupal\Core\Entity\Display\EntityDisplayInterface $display: An entity display to check for the extra field.

Return value

bool Return TRUE if the component exists in the display; otherwise FALSE.

1 method overrides EntityExtraFieldInterface::hasDisplayComponent()
EntityExtraField::hasDisplayComponent in src/Entity/EntityExtraField.php
Extra field has display component.

File

src/Entity/EntityExtraFieldInterface.php, line 202

Class

EntityExtraFieldInterface
Define entity extra field interface.

Namespace

Drupal\entity_extra_field\Entity

Code

public function hasDisplayComponent(EntityDisplayInterface $display);