public function WrapperEntityBase::getPluginCollections in Backup and Migrate 8.4
Same name and namespace in other branches
- 5.0.x src/Entity/WrapperEntityBase.php \Drupal\backup_migrate\Entity\WrapperEntityBase::getPluginCollections()
Gets the plugin collections used by this entity.
Return value
\Drupal\Component\Plugin\LazyPluginCollection[] An array of plugin collections, keyed by the property name they use to store their configuration.
Overrides ObjectWithPluginCollectionInterface::getPluginCollections
File
- src/
Entity/ WrapperEntityBase.php, line 90
Class
- WrapperEntityBase
- A configuration entity that wraps a Backup and Migrate plugin.
Namespace
Drupal\backup_migrate\EntityCode
public function getPluginCollections() {
if ($config = $this
->getPluginCollection()) {
return [
'config' => $config,
];
}
return [];
}