Problem/Motivation

There is no title on all pages.

Proposed resolution

Add a titles.

Remaining tasks

Do it, provide patch, commit patch.

User interface changes

None

API changes

None

Data model changes

None

CommentFileSizeAuthor
#3 2508181-3.patch1.37 KBjoshi.rohit100
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

LKS90’s picture

Title: Title missing for /admin/config/regional/name » Title missing for all routed pages.
Issue summary: View changes
LKS90’s picture

Issue tags: +Novice

just add a _title under the defaults section of the name.routing.yml file which fits the page.

Example
now:

name.settings:
  path: '/admin/config/regional/name/settings'
  defaults:
    _form: 'Drupal\name\NameSettingsForm'
  requirements:
    _permission: 'administer site configuration'

after:

name.settings:
  path: '/admin/config/regional/name/settings'
  defaults:
    _form: 'Drupal\name\NameSettingsForm'
    _title: 'Name formats settings' 
  requirements:
    _permission: 'administer site configuration'

Edit: To test changes to the default configuration, a cache rebuild is necessary after adding the _titles

joshi.rohit100’s picture

Status: Active » Needs review
FileSize
1.37 KB
LKS90’s picture

Status: Needs review » Reviewed & tested by the community

Looking good now! The delete operation uses the standard 'delete entity' form title anyway, so the rather short title is no problem.

webflo’s picture

Status: Reviewed & tested by the community » Fixed

Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.