You are here

public function InlineFormInterface::getEntityLabel in Inline Entity Form 8

Gets the label of the given entity.

Parameters

\Drupal\Core\Entity\EntityInterface $entity: The given entity.

Return value

string The entity label.

1 method overrides InlineFormInterface::getEntityLabel()
EntityInlineForm::getEntityLabel in src/Form/EntityInlineForm.php
Gets the label of the given entity.

File

src/InlineFormInterface.php, line 43

Class

InlineFormInterface
Defines the interface for inline form handlers.

Namespace

Drupal\inline_entity_form

Code

public function getEntityLabel(EntityInterface $entity);