function NavigationSectionStorage::getRedirectUrl

Same name and namespace in other branches
  1. 11.x core/modules/navigation/src/Plugin/SectionStorage/NavigationSectionStorage.php \Drupal\navigation\Plugin\SectionStorage\NavigationSectionStorage::getRedirectUrl()

Gets the URL used when redirecting away from the Layout Builder UI.

Return value

\Drupal\Core\Url The URL object.

Overrides SectionStorageInterface::getRedirectUrl

File

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

Class

NavigationSectionStorage
Provides navigation section storage.

Namespace

Drupal\navigation\Plugin\SectionStorage

Code

public function getRedirectUrl() : Url {
  return $this->getLayoutBuilderUrl();
}

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