function TestStateBasedSectionStorage::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/ layout_builder/ tests/ modules/ layout_builder_test/ src/ Plugin/ SectionStorage/ TestStateBasedSectionStorage.php, line 78
Class
- TestStateBasedSectionStorage
- Provides a test section storage that is controlled by state.
Namespace
Drupal\layout_builder_test\Plugin\SectionStorageCode
public function getRedirectUrl() {
throw new \RuntimeException(__METHOD__ . " not implemented for " . __CLASS__);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.