public function Breadcrumb::getLinks

public Breadcrumb::getLinks()

Gets the breadcrumb links.

Return value

\Drupal\Core\Link[]

File

core/lib/Drupal/Core/Breadcrumb/Breadcrumb.php, line 29

Class

Breadcrumb
Used to return generated breadcrumbs with associated cacheability metadata.

Namespace

Drupal\Core\Breadcrumb

Code

public function getLinks() {
  return $this->links;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Breadcrumb!Breadcrumb.php/function/Breadcrumb::getLinks/8.1.x