Mercurial > hg > cmmr2012-drupal-site
view core/lib/Drupal/Component/Plugin/DerivativeInspectionInterface.php @ 0:c75dbcec494b
Initial commit from drush-created site
author | Chris Cannam |
---|---|
date | Thu, 05 Jul 2018 14:24:15 +0000 |
parents | |
children |
line wrap: on
line 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(); }