Skip to content
Snippets Groups Projects
Commit 1af585da authored by Dries Buytaert's avatar Dries Buytaert
Browse files

Issue #1784846 by beltofte, Floydm: Standardize capitalization on actions in...

Issue #1784846 by beltofte, Floydm: Standardize capitalization on actions in operations in shortcut: 'list links', 'edit set', 'delete set', 'edit, 'delete'.
parent ca5a3ef0
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -29,18 +29,18 @@ public function buildHeader() {
public function getOperations(EntityInterface $entity) {
$uri = $entity->uri();
$operations['list'] = array(
'title' => t('list links'),
'title' => t('List links'),
'href' => $uri['path'],
);
$operations['edit'] = array(
'title' => t('edit set'),
'title' => t('Edit set'),
'href' => $uri['path'] . '/edit',
'options' => $uri['options'],
'weight' => 10,
);
if (shortcut_set_delete_access($entity)) {
$operations['delete'] = array(
'title' => t('delete set'),
'title' => t('Delete set'),
'href' => $uri['path'] . '/delete',
'options' => $uri['options'],
'weight' => 100,
......
......@@ -222,11 +222,11 @@ function shortcut_set_customize($form, &$form_state, $shortcut_set) {
);
$links['edit'] = array(
'title' => t('edit'),
'title' => t('Edit'),
'href' => "admin/config/user-interface/shortcut/link/$mlid",
);
$links['delete'] = array(
'title' => t('delete'),
'title' => t('Delete'),
'href' => "admin/config/user-interface/shortcut/link/$mlid/delete",
);
$form['shortcuts']['links'][$mlid]['operations'] = array(
......
......@@ -286,16 +286,11 @@
/**
* Twig debugging:
*
* When debugging is enabled:
* - The markup of each Twig template is surrounded by HTML comments which
* contain theming information such as template file name suggestions.
* - The 'dump' function can be used in Twig templates to output information
* about template variables.
* - Twig templates are automatically recompiled whenever the source code
* changes (see twig_auto_reload below).
*
* For more information about debugging Twig templates, see
* http://drupal.org/node/1906392.
* When enabled, you can use the 'dump' function in Twig templates to output
* information about variables, and templates are automatically recompiled
* whenever the source code changes.
*
* @see http://drupal.org/node/1906392
*
* Not recommended in production environments (Default: FALSE).
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment