ezcontent-8.x-dev/modules/ezcontent_user/ezcontent_user.install

modules/ezcontent_user/ezcontent_user.install
<?php

/**
 * @file
 * Contains updates hook.
 */

/**
 * Editor role permission update.
 */
function ezcontent_user_update_8001() {
  /** @var \Drupal\update_helper\Updater $updateHelper */
  $updateHelper = \Drupal::service('update_helper.updater');

  // Execute configuration update definitions with logging of success.
  $updateHelper->executeUpdate('ezcontent_user', 'ezcontent_user_update_8001');

  // Output logged messages to related channel of update execution.
  return $updateHelper->logger()->output();
}

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

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