Create service_example

Created on 11 October 2015, about 9 years ago
Updated 4 March 2023, over 1 year ago

Problem/Motivation

Drupal 8 introduces the concept of a service discovery container and services.

We need an example of how to create a service.

Proposed resolution

Create a service_example module.

Some requirements:

  1. Shows how to create a service.
  2. Shows how to take advantage of inversion of control and container injection.
  3. Shows how and when to use \Drupal.

Also checklist stuff: #2209627: [meta] Module Checklist for Examples β†’

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Needs work

Version

4.0

Component

Other

Created by

πŸ‡ΊπŸ‡ΈUnited States mile23 Seattle, WA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024