public function WrapperEntityBase::getPluginCollections in Backup and Migrate 5.0.x
Same name and namespace in other branches
- 8.4 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 87
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 [];
}