protected function DeleteStyles::getParameters in Block Style Plugins 8.2
Gets the parameters needed for the various Url() and form invocations.
Return value
array List of Url parameters.
2 calls to DeleteStyles::getParameters()
- DeleteStyles::ajaxCancel in src/
Form/ DeleteStyles.php - Provides an ajax callback for the cancel button.
- DeleteStyles::getCancelUrl in src/
Form/ DeleteStyles.php - Returns the route to go to if the user cancels the action.
File
- src/
Form/ DeleteStyles.php, line 183
Class
- DeleteStyles
- Provides a form to delete a block style.
Namespace
Drupal\block_style_plugins\FormCode
protected function getParameters() {
return [
'section_storage_type' => $this->sectionStorage
->getStorageType(),
'section_storage' => $this->sectionStorage
->getStorageId(),
'delta' => $this->delta,
'uuid' => $this->uuid,
];
}