diff --git a/core/includes/common.inc b/core/includes/common.inc index 914d1365277..c657cd5a070 100644 --- a/core/includes/common.inc +++ b/core/includes/common.inc @@ -285,28 +285,6 @@ function drupal_get_profile() { return $profile; } - -/** - * Sets the breadcrumb trail for the current page. - * - * @param $breadcrumb - * Array of links, starting with "home" and proceeding up to but not including - * the current page. - * - * @deprecated This will be removed in 8.0. Instead, register a new breadcrumb - * builder service. - * - * @see \Drupal\Core\Breadcrumb\BreadcrumbBuilderInterface - */ -function drupal_set_breadcrumb($breadcrumb = NULL) { - $stored_breadcrumb = &drupal_static(__FUNCTION__); - - if (isset($breadcrumb)) { - $stored_breadcrumb = $breadcrumb; - } - return $stored_breadcrumb; -} - /** * Adds output to the HEAD tag of the HTML page. * diff --git a/core/modules/system/lib/Drupal/system/LegacyBreadcrumbBuilder.php b/core/modules/system/lib/Drupal/system/LegacyBreadcrumbBuilder.php deleted file mode 100644 index 3e5cc7137f9..00000000000 --- a/core/modules/system/lib/Drupal/system/LegacyBreadcrumbBuilder.php +++ /dev/null @@ -1,37 +0,0 @@ -