public function GroupContentEnablerBase::getEntityReferenceDescription in Group 8
Returns the description for the entity reference field.
This allows you to specify the description for the entity reference field pointing to the entity that is to become group content.
Return value
string|null The description for the entity reference field or NULL if none was set.
Overrides GroupContentEnablerInterface::getEntityReferenceDescription
File
- src/
Plugin/ GroupContentEnablerBase.php, line 432
Class
- GroupContentEnablerBase
- Provides a base class for GroupContentEnabler plugins.
Namespace
Drupal\group\PluginCode
public function getEntityReferenceDescription() {
return isset($this->pluginDefinition['reference_description']) ? $this->pluginDefinition['reference_description'] : NULL;
}