You are here

public function XmlSitemapLinkStorageInterface::load in XML sitemap 8

Same name and namespace in other branches
  1. 2.x src/XmlSitemapLinkStorageInterface.php \Drupal\xmlsitemap\XmlSitemapLinkStorageInterface::load()

Load a specific sitemap link from the database.

Parameters

string $entity_type: A string with the entity type id.

string $entity_id: Entity ID.

Return value

array A sitemap link (array) or FALSE if the conditions were not found.

1 method overrides XmlSitemapLinkStorageInterface::load()
XmlSitemapLinkStorage::load in src/XmlSitemapLinkStorage.php
Load a specific sitemap link from the database.

File

src/XmlSitemapLinkStorageInterface.php, line 127

Class

XmlSitemapLinkStorageInterface
Provides an interface defining a XmlSitemapLinkStorage service.

Namespace

Drupal\xmlsitemap

Code

public function load($entity_type, $entity_id);