Skip to content

daggerhart/drupal8_examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 

Repository files navigation

Custom Drupal 8 Entities w/ Bundle Examples

  1. Most Simple - The Most Simple entity with bundles possible. Easy to create (very little code), hard to use (no links).
  2. Simple - Simple Entity with bundles that is much more usable than the Most Simple Entity. Has links, useful ListBuilders, and informative messages.
  3. Practical - More practical entity with bundles, generated bundle permissions, custom access control, entity fields, bundle descriptions, and much better ListBuilders with useful information. Also has interfaces for the Entity classes as best practice.

Related Blog Post

Learning about Drupal 8 Events

  1. Module
    1. Registering services - Registering services
    2. Config CRUD Event Subscriber - Example event subscriber that listens for Config object events.
    3. Custom Event - UserLoginEvent - Custom Event that will be dispatched on hook_user_login().
    4. Custom Event - Dispatching Events - Dispatching an event during hook_user_login().
    5. Custom Event - Subscribing to Custom Event - Event Subscriber that listens for our custom UserLoginEvent.

Related Blog Post

Services & Dependency Injection

  1. Dependency Injection Examples
  2. Services Examples
  3. Calculator - More examples of services and dependency injection.

The most bare-minimum possible Drupal 8 module

  1. Module

The most bare-minimum possible Drupal 8 theme

  1. Theme - This can be enabled from the modules folder.

Cat API custom modules

These modules integrate with various free cat related APIs available online.

  1. Cat Facts
    1. Original Blog Post
    2. Related Blog Post
  2. Cat API
    • Services
    • Blocks
    • Dependency Injection

Releases

No releases published

Packages

No packages published

Languages