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

Configuration

By editor , 13 August, 2021

Import config file programmatically on Drupal 9

Tags

  • Drupal 9
  • Code
  • Configuration

Import configuration file programmatically on Drupal 9 using config_update contrib module and service

//Update Module settings
\Drupal::service('config_update.config_update')->revert('system.simple', 'mymodule.settings');

By editor , 2 November, 2017

Drupal 8 Configuration : Get, Set, Override and Exclude

Tags

  • Drupal 8
  • Configuration
  • Drupal 9

Get, Set and Delete configuration value by drush

Get (drush config-get)

drush cget CONFIG_NAME CONFIG_KEY
Examples:
drush cget system.site
drush cget system.site page.front

Set (drush config-set)

By editor , 31 October, 2017

Configuration property error.

Tags

  • Drupal 8
  • Code
  • Plugin
  • Configuration

 

If you have an error like this, when you use a custom views filter plugin, the resent is now you need to have a config schema for all Views filter plugins.

The error :

Configuration

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