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

Module

By editor , 13 December, 2016

Solr Configuration for Drupal

Tags

  • Drupal 8
  • Module
  • Drupal 7

Step 1. Install Tomcat And Solr Server (atlest 5.4.1)

Step 2. Install Solr Search API On your drupal

#Drush# drush en search_api_solr -y

Step 3. Copy solr core files

By editor , 15 July, 2016

Switch User Block in Drupal 8

Tags

  • Drupal 8
  • Module

Drupal 8 Devel module has an integrated switch user block.  This function allow you to switch users without logout/login (for the selected roles) and without entering user name and password. To activate a this block.

By editor , 12 July, 2016

Features

Tags

  • Drupal 8
  • Drupal 7
  • Features
  • Module
  • Drush

Features is a drupal contrib module enables the capture and management of features in Drupal, by providing a UI and API for taking different site building components from modules with exportables and bundling them together in a single feature module.

By editor , 8 July, 2016

Create a simple module to use Drupal 8 Hook System

Tags

  • Drupal 8
  • Code
  • Module
  • Hook

Drupal 8 Hook System

Hooks allow modules to alter the drupal core behavior or another module. Hooks are discovered and called at specific times to alter or add to the base behavior or data (invoking the hook). Each hook has a name start with hook_ (Ex; hook_menu()).

By editor , 7 June, 2016

Drupal 8 Tags based cache system

Tags

  • Drupal 8
  • Code
  • Cache
  • Module

This system allow you to invalidate drupal cache using a 'tag'

Exapples:

By editor , 31 May, 2016

Change Drupal 8 'Powered By' block

Tags

  • Drupal 8
  • Code
  • Module

You can't change the body of this block fron the user interface. But you can do that using a small custom module using hook_block_view_alter().

Example: in the yourmodule.module

By editor , 29 May, 2016

Find Entity using Drupal EntityQuery

Tags

  • Drupal 8
  • Code
  • Module

You can find any entity using Drupal 8 EntityQuery System.

By editor , 26 May, 2016

Make a Link list and Submenu

Tags

  • Drupal 8
  • Code
  • Module

Example:

1. in yourmodule.links.menu.yml
yourmodule.test:
  title: Test
  parent: system.admin_config_development
  route_name: yourmodule.test

By editor , 14 April, 2016

Create new content type programmatically using Configuration API

Tags

  • Drupal 8
  • Code
  • Module

Module Name = my_module
Content Type = my_new_content

Create content type

Put this two files into my_module/config/install/

By editor , 31 March, 2016

Drupal 8 Examples for Developers

Tags

  • Drupal 8
  • Code
  • Module

This is a drupal 8 contrib module allow  you (developer) to find code examples.

Pagination

  • Previous page
  • 3
  • Next page
Module

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