You are here

public function GroupTypeInterface::hasContentPlugin in Group 8

Same name and namespace in other branches
  1. 2.0.x src/Entity/GroupTypeInterface.php \Drupal\group\Entity\GroupTypeInterface::hasContentPlugin()

Checks whether a content enabler plugin is installed for this group type.

Parameters

string $plugin_id: The ID of the content enabler plugin to check for.

Return value

bool Whether the content enabler plugin is installed.

1 method overrides GroupTypeInterface::hasContentPlugin()
GroupType::hasContentPlugin in src/Entity/GroupType.php
Checks whether a content enabler plugin is installed for this group type.

File

src/Entity/GroupTypeInterface.php, line 144

Class

GroupTypeInterface
Provides an interface defining a group type entity.

Namespace

Drupal\group\Entity

Code

public function hasContentPlugin($plugin_id);