public function GroupContentEnablerInterface::getEntityReferenceLabel in Group 8
Returns the label for the entity reference field.
This allows you to specify the label for the entity reference field pointing to the entity that is to become group content.
Return value
string|null The label for the entity reference field or NULL if none was set.
1 method overrides GroupContentEnablerInterface::getEntityReferenceLabel()
- GroupContentEnablerBase::getEntityReferenceLabel in src/
Plugin/ GroupContentEnablerBase.php - Returns the label for the entity reference field.
File
- src/
Plugin/ GroupContentEnablerInterface.php, line 315
Class
- GroupContentEnablerInterface
- Defines an interface for pluggable GroupContentEnabler back-ends.
Namespace
Drupal\group\PluginCode
public function getEntityReferenceLabel();