Skip to main content
Home
Toggle menu

Main navigation

  • Home
  • Blogs

June 2017

Get or Set module weight - Drupal 8

In Drupal 8, module's weight is stored into ConfigFactory. Here's how to get or set module weight. Get module weight:
<?php
  $extension_config = \Drupal::configFactory()->getEditable('core.extension');
  • Read more about Get or Set module weight - Drupal 8

Monthly archive

  • March 2019 3
  • September 2018 1
  • July 2018 2
  • April 2018 1
  • August 2017 1

Pagination

  • Next page ››
sfy39587stp18