field_label-8.x-1.0/field_label.post_update.php

field_label.post_update.php
<?php

/**
 * @file
 * Post update functions for field_label.
 */

/**
 * Update settings to include plural_label_enabled key.
 */
function field_label_post_update_plural_label() {
  $config = \Drupal::configFactory()->getEditable('field_label.settings');
  $config->set('plural_label_enabled', FALSE);
  $config->save();
}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc