You are here

public function GroupRelationBase::isCodeOnly in Group 2.0.x

Returns whether this plugin can only be (un)installed through code.

Return value

bool The 'code_only' status.

Overrides GroupRelationInterface::isCodeOnly

File

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

Class

GroupRelationBase
Provides a base class for GroupContentEnabler plugins.

Namespace

Drupal\group\Plugin\Group\Relation

Code

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