Skip to main content
Drupal 8

Main navigation

  • Home
    • Question And Answer
    • NEWS
    • Projects
  • Tutorials - Drupal
    • Android
    • Other
User account menu
  • Log in

Breadcrumb

  1. Home

Create a simple module for Drupal 8 - Step 1

By editor , 13 November, 2015
Question

How to create a simple module with Drupal 8

File
test.zip (425 bytes)

Tags

  • Drupal 8
  • Module
  • Add new comment
Create a simple module for Drupal 8 - Step 2 - Create Simple Page
Create a simple Block programmatically

Comments3

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.

Adam Borecki (not verified)

9 years 1 month ago

Small typo?

the example says "varsion" but I think it's supposed to say "version"

  • Reply

editor

9 years 1 month ago

In reply to Small typo? by Adam Borecki (not verified)

Thanks

Thank you !!!

  • Reply

Omar (not verified)

5 years 7 months ago

How we can call block in specific region by same module

Thanks for your tutorial. i have a small question in this way block is created and by manually we can assign to any region from structure > block layout
but can we do this also via programming how please guide me how we can assign block to region automatically soon after we created the block from custom module

  • Reply

Links

  • Drupal.org
  • Drupal core release cycle
  • Drupal events with ease
  • Unit test with Drupal using PHPUnit (Drupal 10)
  • Tokens for file upload url
  • Tips for Docker
  • CKEditor inline image files usage for custom forms.
  • Install Docker on Linux Mint
  • Install PHP 8.1
  • Drupal Security Best Practices
  • Order and sort items with tabledrag
  • Add a custom service YAML container
  • Apply a patch with composer