Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Sitemap.php
Go to the documentation of this file.
1 <?php
7 
11 abstract class Sitemap extends \Magento\Backend\App\Action
12 {
18  const ADMIN_RESOURCE = 'Magento_Sitemap::sitemap';
19 
25  protected function _initAction()
26  {
27  // load layout, set active menu and breadcrumbs
28  $this->_view->loadLayout();
29  $this->_setActiveMenu(
30  'Magento_Sitemap::catalog_sitemap'
31  )->_addBreadcrumb(
32  __('Catalog'),
33  __('Catalog')
34  )->_addBreadcrumb(
35  __('XML Sitemap'),
36  __('XML Sitemap')
37  );
38  return $this;
39  }
40 }
__()
Definition: __.php:13