@api
- Since
- 100.0.2
Definition at line 12 of file UrlInterface.php.
◆ findFirstAvailableMenu()
findFirstAvailableMenu |
( |
| ) |
|
Find first menu item that user is able to access
- Returns
- string
Implemented in Url.
◆ getAreaFrontName()
Return backend area front name, defined in configuration
- Returns
- string
Implemented in Url.
◆ getSecretKey()
getSecretKey |
( |
|
$routeName = null , |
|
|
|
$controller = null , |
|
|
|
$action = null |
|
) |
| |
Generate secret key for controller and action based on form key
- Parameters
-
string | $routeName | |
string | $controller | Controller name |
string | $action | Action name |
- Returns
- string
Implemented in Url.
◆ getStartupPageUrl()
Find admin start page url
- Returns
- string
Implemented in Url.
◆ renewSecretUrls()
Refresh admin menu cache etc.
- Returns
- \Magento\Backend\Model\UrlInterface
Implemented in Url.
◆ setSession()
Set custom auth session
- Parameters
-
\Magento\Backend\Model\Auth\Session | $session | |
- Returns
- \Magento\Backend\Model\UrlInterface
Implemented in Url.
◆ turnOffSecretKey()
Disable secret key using
- Returns
- \Magento\Backend\Model\UrlInterface
Implemented in Url.
◆ turnOnSecretKey()
Enable secret key using
- Returns
- \Magento\Backend\Model\UrlInterface
Implemented in Url.
◆ useSecretKey()
Return secret key settings flag
- Returns
- bool
Implemented in Url.
◆ SECRET_KEY_PARAM_NAME
const SECRET_KEY_PARAM_NAME = 'key' |
◆ XML_PATH_STARTUP_MENU_ITEM
const XML_PATH_STARTUP_MENU_ITEM = 'admin/startup/menu_item_id' |
The documentation for this interface was generated from the following file: