You are here

public function GroupContentEnablerInterface::getContentLabel in Group 8

Retrieves the label for a piece of group content.

Parameters

\Drupal\group\Entity\GroupContentInterface $group_content: The group content entity to retrieve the label for.

Return value

string The label as expected by \Drupal\Core\Entity\EntityInterface::label().

1 method overrides GroupContentEnablerInterface::getContentLabel()
GroupContentEnablerBase::getContentLabel in src/Plugin/GroupContentEnablerBase.php
Retrieves the label for a piece of group content.

File

src/Plugin/GroupContentEnablerInterface.php, line 139

Class

GroupContentEnablerInterface
Defines an interface for pluggable GroupContentEnabler back-ends.

Namespace

Drupal\group\Plugin

Code

public function getContentLabel(GroupContentInterface $group_content);