class PostInstall in Group 2.0.x
Provides post install tasks for group relation plugins.
Hierarchy
- class \Drupal\group\Plugin\Group\RelationHandlerDefault\PostInstall implements PostInstallInterface uses PostInstallTrait
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'
1 service uses PostInstall
File
- src/
Plugin/ Group/ RelationHandlerDefault/ PostInstall.php, line 11
Namespace
Drupal\group\Plugin\Group\RelationHandlerDefaultView source
class PostInstall implements PostInstallInterface {
use PostInstallTrait;
/**
* {@inheritdoc}
*/
public function getInstallTasks() {
// By default, plugins have nothing to do after installation.
return [];
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PostInstall:: |
public | function |
Retrieves the tasks to run after plugin installation. Overrides PostInstallTrait:: |
|
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 |