private property EntityTreeBuilder::$accessPermission in Entity Reference Tree Widget 2.x
Same name and namespace in other branches
- 8 src/Tree/EntityTreeBuilder.php \Drupal\entity_reference_tree\Tree\EntityTreeBuilder::accessPermission
The permission name to access the entity tree. The entity storage load function is actually responsible for the permission checking for each individual entity. So here just use a very weak permission.
Type: string
File
- src/
Tree/ EntityTreeBuilder.php, line 24
Class
- EntityTreeBuilder
- Provides a class for building a tree from general entity.
Namespace
Drupal\entity_reference_tree\TreeCode
private $accessPermission = 'access content';