Commit 1af585da authored by Dries's avatar Dries

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
......@@ -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).
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment