You are here

function xmlsitemap_get_bundle_path in XML sitemap 8

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

Get path of a bundle.

Parameters

string $entity: Entity type id.

string $bundle: Bundle id.

Return value

mixed Path of bundle, or FALSE if it does not exist.

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 1006
xmlsitemap XML sitemap

Code

function xmlsitemap_get_bundle_path($entity, $bundle) {
  @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;
}