interface MapLinkInterface in Address Map (& Directions) Link 8
Defines an interface for Map link plugins.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\address_map_link\MapLinkInterface
Expanded class hierarchy of MapLinkInterface
All classes that implement MapLinkInterface
File
- src/
MapLinkInterface.php, line 11
Namespace
Drupal\address_map_linkView source
interface MapLinkInterface extends PluginInspectionInterface {
/**
* Return the name of the map link plugin.
*
* @return string
* The name of the MapLink plugin.
*/
public function getName();
/**
* Gets the map link url from an address.
*
* @param \Drupal\address\AddressInterface $address
* The address.
*
* @return \Drupal\Core\Url
* The Url.
*/
public function getAddressUrl(AddressInterface $address);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MapLinkInterface:: |
public | function | Gets the map link url from an address. | 1 |
MapLinkInterface:: |
public | function | Return the name of the map link plugin. | 1 |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |