DerivativeInspectionInterface.php in Drupal 8
Same filename and directory in other branches
Namespace
Drupal\Component\PluginFile
core/lib/Drupal/Component/Plugin/DerivativeInspectionInterface.phpView source
<?php
namespace Drupal\Component\Plugin;
/**
* Provides a plugin interface for providing derivative metadata inspection.
*/
interface DerivativeInspectionInterface {
/**
* Gets the base_plugin_id of the plugin instance.
*
* @return string
* The base_plugin_id of the plugin instance.
*/
public function getBaseId();
/**
* Gets the derivative_id of the plugin instance.
*
* @return string|null
* The derivative_id of the plugin instance NULL otherwise.
*/
public function getDerivativeId();
}
Interfaces
Name | Description |
---|---|
DerivativeInspectionInterface | Provides a plugin interface for providing derivative metadata inspection. |