You are here

public function EntityExtraField::displayLabel in Entity Extra Field 8

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

Should display the extra field label.

Return value

boolean 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 132

Class

EntityExtraField
Define entity extra field.

Namespace

Drupal\entity_extra_field\Entity

Code

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