droptica/d_application_api

Application helper classes and methods.

Installs: 4 871

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 2

Type:drupal-module

v1.1 2021-05-18 06:31 UTC

This package is not auto-updated.

Last update: 2024-04-18 02:04:39 UTC


README

Installation:

composer require droptica/d_application_api

Services:

Revert (Import) a feature programmatically - Drupal 8

\Drupal::service('d_application_api.features')->import($modules);

Example usage:

<?php

/**
 * Update 8002
 */
function mymodule_update_8002() {
  \Drupal::service('d_application_api.features')->import(['feature_module_1', 'feature_module_2']);
}