public function PageManagerSectionStorage::getRedirectUrl in Page Manager 8.4
Gets the URL used when redirecting away from the Layout Builder UI.
Return value
\Drupal\Core\Url The URL object.
Overrides SectionStorageInterface::getRedirectUrl
File
- src/
Plugin/ SectionStorage/ PageManagerSectionStorage.php, line 136
Class
- PageManagerSectionStorage
- Defines the 'page_manager' section storage type.
Namespace
Drupal\page_manager\Plugin\SectionStorageCode
public function getRedirectUrl() {
return Url::fromUri($this
->getPageVariant()
->getPage()
->getPath());
}