You are here

class EmptyPostInstall in Group 2.0.x

Provides a default post install handler.

In case a plugin does not define a handler, the empty class is used so that others can still decorate the plugin-specific service.

Hierarchy

Expanded class hierarchy of EmptyPostInstall

File

src/Plugin/Group/RelationHandler/EmptyPostInstall.php, line 11

Namespace

Drupal\group\Plugin\Group\RelationHandler
View source
class EmptyPostInstall implements PostInstallInterface {
  use PostInstallTrait;

  /**
   * Constructs a new EmptyPostInstall.
   *
   * @param \Drupal\group\Plugin\Group\RelationHandler\PostInstallInterface $parent
   *   The parent post install handler.
   */
  public function __construct(PostInstallInterface $parent) {
    $this->parent = $parent;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
EmptyPostInstall::__construct public function Constructs a new EmptyPostInstall.
PostInstallTrait::getInstallTasks public function 2
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