You are here

class PostInstall in Group 2.0.x

Provides post install tasks for group relation plugins.

Hierarchy

Expanded class hierarchy of PostInstall

1 file declares its use of PostInstall
PostInstallTest.php in tests/src/Unit/PostInstallTest.php
1 string reference to 'PostInstall'
group.services.yml in ./group.services.yml
group.services.yml
1 service uses PostInstall
group.relation_handler.post_install in ./group.services.yml
Drupal\group\Plugin\Group\RelationHandlerDefault\PostInstall

File

src/Plugin/Group/RelationHandlerDefault/PostInstall.php, line 11

Namespace

Drupal\group\Plugin\Group\RelationHandlerDefault
View source
class PostInstall implements PostInstallInterface {
  use PostInstallTrait;

  /**
   * {@inheritdoc}
   */
  public function getInstallTasks() {

    // By default, plugins have nothing to do after installation.
    return [];
  }

}

Members

Namesort descending Modifiers Type Description Overrides
PostInstall::getInstallTasks public function Retrieves the tasks to run after plugin installation. Overrides PostInstallTrait::getInstallTasks
RelationHandlerTrait::$definition protected property The plugin definition.
RelationHandlerTrait::$entityTypeManager protected property The entity type manager.
RelationHandlerTrait::$groupRelationManager protected property The group relation manager.
RelationHandlerTrait::$parent protected property The parent relation handler in the decorator chain.
RelationHandlerTrait::$pluginId protected property The plugin ID as read from the definition.
RelationHandlerTrait::entityTypeManager protected function Gets the entity type manager service.
RelationHandlerTrait::groupRelationManager protected function Gets the group relation manager service.
RelationHandlerTrait::init public function