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
- class \Drupal\group\Plugin\Group\RelationHandler\EmptyPostInstall implements PostInstallInterface uses PostInstallTrait
Expanded class hierarchy of EmptyPostInstall
File
- src/
Plugin/ Group/ RelationHandler/ EmptyPostInstall.php, line 11
Namespace
Drupal\group\Plugin\Group\RelationHandlerView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EmptyPostInstall:: |
public | function | Constructs a new EmptyPostInstall. | |
PostInstallTrait:: |
public | function | 2 | |
RelationHandlerTrait:: |
protected | property | The plugin definition. | |
RelationHandlerTrait:: |
protected | property | The entity type manager. | |
RelationHandlerTrait:: |
protected | property | The group relation manager. | |
RelationHandlerTrait:: |
protected | property | The parent relation handler in the decorator chain. | |
RelationHandlerTrait:: |
protected | property | The plugin ID as read from the definition. | |
RelationHandlerTrait:: |
protected | function | Gets the entity type manager service. | |
RelationHandlerTrait:: |
protected | function | Gets the group relation manager service. | |
RelationHandlerTrait:: |
public | function |