public function AccessControlHierarchyBase::getViewsJoin in Workbench Access 8
Returns information on how to join this section data to a base view table.
Parameters
string $entity_type: The base table of the view.
string $key: The primary key of the base table.
string $alias: The views alias of the base table.
Return value
array The configuration array for adding a views JOIN statement.
Overrides AccessControlHierarchyInterface::getViewsJoin
1 call to AccessControlHierarchyBase::getViewsJoin()
- AccessControlHierarchyBase::addWhere in src/
AccessControlHierarchyBase.php - Adds a where clause to a view when using a section filter.
2 methods override AccessControlHierarchyBase::getViewsJoin()
- Menu::getViewsJoin in src/
Plugin/ AccessControlHierarchy/ Menu.php - @TODO: Refactor
- Taxonomy::getViewsJoin in src/
Plugin/ AccessControlHierarchy/ Taxonomy.php - @TODO: Refactor
File
- src/
AccessControlHierarchyBase.php, line 261
Class
- AccessControlHierarchyBase
- Defines a base hierarchy class that others may extend.
Namespace
Drupal\workbench_accessCode
public function getViewsJoin($entity_type, $key, $alias = NULL) {
return [];
}