You are here

interface DataPolicyExportPluginInterface in Data Policy 8

Defines an interface for Data Policy export plugin plugins.

Hierarchy

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\Plugin
View 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

Namesort descending Modifiers Type Description Overrides
DataPolicyExportPluginInterface::getHeader public function Returns the header. 1
DataPolicyExportPluginInterface::getValue public function Returns the value. 1
PluginInspectionInterface::getPluginDefinition public function Gets the definition of the plugin implementation. 4
PluginInspectionInterface::getPluginId public function Gets the plugin_id of the plugin instance. 2