public function GroupContentEnablerBase::postInstall in Group 8
Runs tasks after the group content type for this plugin has been created.
A good example of what you might want to do here, is the installation of extra locked fields on the group content type. You can find an example in \Drupal\group\Plugin\GroupContentEnabler\GroupMembership::postInstall().
Overrides GroupContentEnablerInterface::postInstall
1 method overrides GroupContentEnablerBase::postInstall()
- GroupMembership::postInstall in src/
Plugin/ GroupContentEnabler/ GroupMembership.php - Runs tasks after the group content type for this plugin has been created.
File
- src/
Plugin/ GroupContentEnablerBase.php, line 452
Class
- GroupContentEnablerBase
- Provides a base class for GroupContentEnabler plugins.
Namespace
Drupal\group\PluginCode
public function postInstall() {
}