You are here

function hook_angularjs_directives in AngularJS 7

Provide a list of directives exposed by this module

Parameters

string $version: The version of AngularJS being used on the site

Return value

array An array containing AngularJS directives in the format provided to drupal_add_js

Related topics

1 function implements hook_angularjs_directives()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

angularjs_map_angularjs_directives in modules/angularjs_map/angularjs_map.module

File

./angularjs.api.inc, line 60
This file contains no working PHP code; it exists to provide additional documentation for doxygen as well as to document hooks in the standard Drupal manner.

Code

function hook_angularjs_directives() {
  return array(
    drupal_get_path('angularjs') . '/js/directives.js' => array(),
  );
}