You are here

public function GroupContentEnablerBase::isEnforced in Group 8

Returns whether this plugin is always on.

Return value

bool The 'enforced' status.

Overrides GroupContentEnablerInterface::isEnforced

File

src/Plugin/GroupContentEnablerBase.php, line 148

Class

GroupContentEnablerBase
Provides a base class for GroupContentEnabler plugins.

Namespace

Drupal\group\Plugin

Code

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