abstract protected function GroupContentToEntityBase::getTargetEntityType in Group 8
Same name and namespace in other branches
- 2.0.x src/Plugin/views/relationship/GroupContentToEntityBase.php \Drupal\group\Plugin\views\relationship\GroupContentToEntityBase::getTargetEntityType()
Retrieves the entity type ID this plugin targets.
Do not return 'group_content', but the actual entity type ID you're trying to link up to the group_content entity type.
Return value
string The target entity type ID.
2 calls to GroupContentToEntityBase::getTargetEntityType()
- GroupContentToEntityBase::buildOptionsForm in src/
Plugin/ views/ relationship/ GroupContentToEntityBase.php - Provide a form to edit options for this plugin.
- GroupContentToEntityBase::getGroupContentTypeIds in src/
Plugin/ views/ relationship/ GroupContentToEntityBase.php - Returns the group content types this relationship should filter on.
2 methods override GroupContentToEntityBase::getTargetEntityType()
- GroupContentToEntity::getTargetEntityType in src/
Plugin/ views/ relationship/ GroupContentToEntity.php - Retrieves the entity type ID this plugin targets.
- GroupContentToEntityReverse::getTargetEntityType in src/
Plugin/ views/ relationship/ GroupContentToEntityReverse.php - Retrieves the entity type ID this plugin targets.
File
- src/
Plugin/ views/ relationship/ GroupContentToEntityBase.php, line 67
Class
- GroupContentToEntityBase
- A relationship handler base for group content entity references.
Namespace
Drupal\group\Plugin\views\relationshipCode
protected abstract function getTargetEntityType();