You are here

public function GroupContentEnablerBase::isCodeOnly in Group 8

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

Return value

bool The 'code_only' status.

Overrides GroupContentEnablerInterface::isCodeOnly

File

src/Plugin/GroupContentEnablerBase.php, line 155

Class

GroupContentEnablerBase
Provides a base class for GroupContentEnabler plugins.

Namespace

Drupal\group\Plugin

Code

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