interface LinkGeneratorInterface in Simple XML sitemap 8
Defines an interface for simplesitemap plugins.
Hierarchy
- interface \Drupal\Component\Plugin\PluginInspectionInterface
- interface \Drupal\simplesitemap\LinkGeneratorInterface
Expanded class hierarchy of LinkGeneratorInterface
All classes that implement LinkGeneratorInterface
File
- src/
LinkGeneratorInterface.php, line 15 - Contains Drupal\simplesitemap\LinkGeneratorInterface.
Namespace
Drupal\simplesitemapView source
interface LinkGeneratorInterface extends PluginInspectionInterface {
/**
* @param string $entity_type
* E.g. 'node_type', 'taxonomy_vocabulary'.
* @param array $bundles
* E.g. 'page'.
*
* @return array $paths
*/
public function get_entity_paths($entity_type, $bundles);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
LinkGeneratorInterface:: |
public | function | 1 | |
PluginInspectionInterface:: |
public | function | Gets the definition of the plugin implementation. | 4 |
PluginInspectionInterface:: |
public | function | Gets the plugin_id of the plugin instance. | 2 |