interface DataPolicyExportPluginInterface in Data Policy 8
Defines an interface for Data Policy export plugin plugins.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\data_policy_export\Plugin\DataPolicyExportPluginInterface
Expanded class hierarchy of DataPolicyExportPluginInterface
All classes that implement DataPolicyExportPluginInterface
File
- modules/
data_policy_export/ src/ Plugin/ DataPolicyExportPluginInterface.php, line 11
Namespace
Drupal\data_policy_export\PluginView source
interface DataPolicyExportPluginInterface extends PluginInspectionInterface {
/**
* Returns the header.
*
* @return \Drupal\Core\StringTranslation\TranslatableMarkup|string
* The header.
*/
public function getHeader();
/**
* Returns the value.
*
* @param \Drupal\data_policy\Entity\DataPolicyInterface $entity
* The Data Policy entity to get the value from.
*
* @return string
* The value.
*/
public function getValue(DataPolicyInterface $entity);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DataPolicyExportPluginInterface:: |
public | function | Returns the header. | 1 |
DataPolicyExportPluginInterface:: |
public | function | Returns the value. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |