You are here

private property EntityTreeBuilder::$accessPermission in Entity Reference Tree Widget 8

Same name and namespace in other branches
  1. 2.x 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\Tree

Code

private $accessPermission = 'access content';