You are here

function xmlsitemap_link_bundle_access in XML sitemap 8

Same name and namespace in other branches
  1. 6.2 xmlsitemap.module \xmlsitemap_link_bundle_access()
  2. 7.2 xmlsitemap.module \xmlsitemap_link_bundle_access()

Checks access for a bundle.

Parameters

string $entity: Entity type id.

string $bundle: Bundle id.

Return value

bool If TRUE, access is allowed, FALSE otherwise.

Deprecated

in xmlsitemap:8.x-1.1 and is removed from xmlsitemap:2.0.0.

See also

https://www.drupal.org/project/xmlsitemap/issues/3156088

File

./xmlsitemap.module, line 986
xmlsitemap XML sitemap

Code

function xmlsitemap_link_bundle_access($entity, $bundle = NULL) {
  @trigger_error(__FUNCTION__ . ' is deprecated in xmlsitemap:8.x-1.1 and will be removed in xmlsitemap:2.0.0. See https://www.drupal.org/project/xmlsitemap/issues/3156088', E_USER_DEPRECATED);
  return FALSE;
}