You are here

interface LinkExtractorInterface in Link checker 8

Defines an interface for Link extractor plugin plugins.

Hierarchy

Expanded class hierarchy of LinkExtractorInterface

All classes that implement LinkExtractorInterface

File

src/Plugin/LinkExtractorInterface.php, line 10

Namespace

Drupal\linkchecker\Plugin
View source
interface LinkExtractorInterface extends PluginInspectionInterface {

  /**
   * Extracts links from field list.
   *
   * @param array $value
   *   The field value.
   *
   * @return array
   *   List of URLs.
   */
  public function extract(array $value);

}

Members

Namesort descending Modifiers Type Description Overrides
LinkExtractorInterface::extract public function Extracts links from field list. 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