interface BibciteLinkPluginInterface in Bibliography & Citation 2.0.x
Same name and namespace in other branches
- 8 modules/bibcite_entity/src/Plugin/BibciteLinkPluginInterface.php \Drupal\bibcite_entity\Plugin\BibciteLinkPluginInterface
Defines an interface for Link plugins.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\bibcite_entity\Plugin\BibciteLinkPluginInterface
Expanded class hierarchy of BibciteLinkPluginInterface
All classes that implement BibciteLinkPluginInterface
File
- modules/
bibcite_entity/ src/ Plugin/ BibciteLinkPluginInterface.php, line 11
Namespace
Drupal\bibcite_entity\PluginView source
interface BibciteLinkPluginInterface extends PluginInspectionInterface {
/**
* Get plugin label.
*
* @return string
* Plugin label.
*/
public function getLabel();
/**
* Build link using data from Reference entity.
*
* @param \Drupal\bibcite_entity\Entity\ReferenceInterface $reference
* Reference entity object.
*
* @return array
* Constructed URL render array or NULL if URL can not be constructed.
*/
public function build(ReferenceInterface $reference);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
BibciteLinkPluginInterface:: |
public | function | Build link using data from Reference entity. | 1 |
BibciteLinkPluginInterface:: |
public | function | Get plugin label. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |