You are here

jdrupal.api.php in jDrupal 8.0.x

Same filename and directory in other branches
  1. 8 jdrupal.api.php

File

jdrupal.api.php
View source
<?php

/**
 * Alter the result of the jDrupal Connect resource.
 * @param $results
 */
function hook_jdrupal_connect_alter($results) {

  // Add some custom data to the result.
  $results['my_module'] = array(
    'hello' => 'world',
    'foo' => array(
      'bar',
      'chew',
    ),
  );
}

Functions

Namesort descending Description
hook_jdrupal_connect_alter Alter the result of the jDrupal Connect resource.