public function GroupRelationBase::getContentTypeLabel in Group 2.0.x
Returns the administrative label for a group content type.
Return value
string The group content type label.
Overrides GroupRelationInterface::getContentTypeLabel
File
- src/
Plugin/ Group/ Relation/ GroupRelationBase.php, line 181
Class
- GroupRelationBase
- Provides a base class for GroupContentEnabler plugins.
Namespace
Drupal\group\Plugin\Group\RelationCode
public function getContentTypeLabel() {
return $this
->getGroupType()
->label() . ': ' . $this
->getLabel();
}