PHP code example of droptica / d_application_api

1. Go to this page and download the library: Download droptica/d_application_api library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

droptica / d_application_api example snippets




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