public function GroupRelationInterface::getEntityReferenceLabel in Group 2.0.x
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 GroupRelationInterface::getEntityReferenceLabel()
- GroupRelationBase::getEntityReferenceLabel in src/
Plugin/ Group/ Relation/ GroupRelationBase.php - Returns the label for the entity reference field.
File
- src/
Plugin/ Group/ Relation/ GroupRelationInterface.php, line 236
Class
- GroupRelationInterface
- Defines an interface for pluggable GroupRelation back-ends.
Namespace
Drupal\group\Plugin\Group\RelationCode
public function getEntityReferenceLabel();