function NavigationSectionStorage::getContextMapping

Overrides ContextAwarePluginTrait::getContextMapping

File

core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php, line 211

Class

NavigationSectionStorage
Provides navigation section storage.

Namespace

Drupal\navigation\Plugin\SectionStorage

Code

public function getContextMapping() : array {
    return [
        'navigation' => 'navigation',
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.