You are here

public function EntityExtraField::displayLabel in Entity Extra Field 2.0.x

Same name and namespace in other branches
  1. 8 src/Entity/EntityExtraField.php \Drupal\entity_extra_field\Entity\EntityExtraField::displayLabel()

Should display the extra field label.

Return value

bool Return TRUE if the field label should be rendered; otherwise FALSE.

Overrides EntityExtraFieldInterface::displayLabel

1 call to EntityExtraField::displayLabel()
EntityExtraField::build in src/Entity/EntityExtraField.php
Build the extra field.

File

src/Entity/EntityExtraField.php, line 157

Class

EntityExtraField
Define entity extra field.

Namespace

Drupal\entity_extra_field\Entity

Code

public function displayLabel() : bool {
  return $this->display_label;
}