You are here

interface LinkGeneratorInterface in Simple XML sitemap 8

Defines an interface for simplesitemap plugins.

Hierarchy

Expanded class hierarchy of LinkGeneratorInterface

All classes that implement LinkGeneratorInterface

File

src/LinkGeneratorInterface.php, line 15
Contains Drupal\simplesitemap\LinkGeneratorInterface.

Namespace

Drupal\simplesitemap
View 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

Namesort descending Modifiers Type Description Overrides
LinkGeneratorInterface::get_entity_paths public function 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