Skip to main content

Create views programatically

C

reate views programatically

D8 Cards

I

was googling around and came around this worth doing task from D8 cards.

In this article we will discuss and implement the 21 nice topics suggested by D8 Cards. 

  • Card 1 - Configuration Management

  • Card 2 - Paragraphs module

  • Card 3 - Configuration forms

  • Card 4 - Migrations

  • Card 5 - Block system


Drupal create Field Type

T

o be able to customize Drupal a nice addition would be to define your own Field Type e.g a Youtube field where the user just enters the youtube url and then it is shown as embedded video on the page.

In this article we would create a simple Youtube Field.

Creating a custom field involved three sections:

  1. Create Field Type
  2. Create Field Widget
  3. Create Field Formatter
  • Youtube Plugin

  • Create Field Plugin

  • Tips

  • Download

  • Preview


Drupal dependent select box

Sending emails

  • Using mailhog