You are here

public property GroupRelation::$entity_access in Group 2.0.x

(optional) Whether the plugin defines entity access.

This controls whether you can create entities within the group (TRUE) or only add existing ones (FALSE). It also generates the necessary group permissions when enabled.

Eventually, this will even generate entity access records for you, but that will only happen after the patch in https://www.drupal.org/node/777578 has been committed to Drupal core.

Type: bool

File

src/Annotation/GroupRelation.php, line 77

Class

GroupRelation
Defines a GroupRelation annotation object.

Namespace

Drupal\group\Annotation

Code

public $entity_access = FALSE;