Summary: Household recycling and rubbish collection service and collection times, what you can recycle, how to report a problem, and street cleaning. Read the guidance on summaries (opens new window). It should include what a user can do and find out in the section. Your summary should provide more information than what the title suggests. The Service Landing Page will be linked to from the homepage of the website. Image caption: A screenshot of Croydon's Children, young people and families Service Landing Page, showing the title, an introductory paragraph, two common task links and a list of links to Service Pages and Service Sub-landing Pages, each displayed with a title and summary. Children, young people and families (on Croydon) (opens new window).Adult social care (on LGD demo site) (opens new window).Use a Service Landing Page for the homepage of a section. # How to: Creating Service pages # Service Landing Page # When to use a Service Landing Page Brighton & Hove: Rubbish, recycling and streets (opens new window).Lambeth: Bins and recycling (opens new window).Croydon: Adult health and social care (opens new window).LocalGov Drupal demo: Adult health and social care (opens new window).Other content types in the LocalGovDrupal distribution can also optionally be linked into service sections and referenced from Sub-landing Pages. Service Status - an optional additional type for providing updates about a the status of a service. Service Page - the basic page that can be placed in a service, and on a Service Sub-landing Page.Service Sub-landing Page - detail and links to specific pages within a service.Service Landing Page - the top level section for each service.A part of the LocalGovDrupal distribution. Provides the pages and navigation for presenting the Services provided by Local Government. Options for where the Service Status may be displayed.Now we will follow the below namespace and uses. We will place this file in the src folder as shown below Otherwise, it won’t be recognized automatically. So in our case, our service provider file name will beĮxampleServiceOverrideServiceProvider.php Note: Module_name in camel case added a prefix to ServiceProvider.php. Step 2: Create Src folder and ExampleServiceOverrideServiceProvider.phpĬreating an src file is required and the Eventsubscriber folder is optional, Creating a Service provider file we need to follow the below rules. ymlĮxample_service_ name: Example Service Overrideĭescription: This is used to override the contrib private message module. The steps mentioned below will override the “PrivateMessageService”įirst of all, we will Prepare a Module skeleton by creating folder nameĮxample_service_override and create info file in it example_service_. Overriding the Private Message Contrib Module:Īs an example, I’m overriding the Private Message service named PrivateMessageService In a nutshell, we are overriding the Drupal service. We will extend Core/Contrib Service in our Custom module and add the extra code to override it. Because it is not advisable to make changes in Core/Contrib modules code directly.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |