You are here

public function GroupRelationBase::isEnforced in Group 2.0.x

Returns whether this plugin is always on.

Return value

bool The 'enforced' status.

Overrides GroupRelationInterface::isEnforced

File

src/Plugin/Group/Relation/GroupRelationBase.php, line 145

Class

GroupRelationBase
Provides a base class for GroupContentEnabler plugins.

Namespace

Drupal\group\Plugin\Group\Relation

Code

public function isEnforced() {
  return $this->pluginDefinition['enforced'];
}