public function WrapperEntityBase::getPluginDefinition 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::getPluginDefinition()
Get the type plugin for this source.
Return value
mixed
Throws
\Drupal\backup_migrate\Core\Exception\BackupMigrateException
1 call to WrapperEntityBase::getPluginDefinition()
- WrapperEntityBase::access in src/
Entity/ WrapperEntityBase.php - Checks data value access.
File
- src/
Entity/ WrapperEntityBase.php, line 73
Class
- WrapperEntityBase
- A configuration entity that wraps a Backup and Migrate plugin.
Namespace
Drupal\backup_migrate\EntityCode
public function getPluginDefinition() {
if ($plugin = $this
->getPlugin()) {
return $plugin
->getPluginDefinition();
}
return [];
}