You are here

public function Toolbar::getDefaultToolbarTabs in Simplifying 8

Get default toolbart tabs.

1 call to Toolbar::getDefaultToolbarTabs()
Toolbar::formFields in src/Services/Toolbar.php
Get settings toolbar form fields.

File

src/Services/Toolbar.php, line 392

Class

Toolbar
Class Toolbar.

Namespace

Drupal\simplifying\Services

Code

public function getDefaultToolbarTabs() {
  return [
    'home' => $this
      ->t('Back to site'),
    'administration' => $this
      ->t('Manage'),
    'shortcuts' => $this
      ->t('Shortcuts'),
    'user' => $this
      ->t('User'),
    'devel' => $this
      ->t('Devel'),
    'contextual' => $this
      ->t('Edit'),
    'administration-search' => $this
      ->t('Administration search'),
  ];
}