You are here

public function SitemapInterface::view in Sitemap 8.2

Same name and namespace in other branches
  1. 2.0.x src/SitemapInterface.php \Drupal\sitemap\SitemapInterface::view()

Builds a renderable array for a sitemap item.

Return value

array A renderable array for a themed field with its label and all its values.

4 methods override SitemapInterface::view()
Book::view in src/Plugin/Sitemap/Book.php
Builds a renderable array for a sitemap item.
Frontpage::view in src/Plugin/Sitemap/Frontpage.php
Builds a renderable array for a sitemap item.
Menu::view in src/Plugin/Sitemap/Menu.php
Builds a renderable array for a sitemap item.
Vocabulary::view in src/Plugin/Sitemap/Vocabulary.php
Builds a renderable array for a sitemap item.

File

src/SitemapInterface.php, line 47

Class

SitemapInterface
Interface definition for sitemap plugins.

Namespace

Drupal\sitemap

Code

public function view();