You are here

function hook_angularjs_filters in AngularJS 7

Provide a list of filters exposed by this module

Parameters

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

Return value

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

Related topics

1 function implements hook_angularjs_filters()

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_filters in modules/angularjs_map/angularjs_map.module

File

./angularjs.api.inc, line 45
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_filters() {
  return array(
    drupal_get_path('angularjs') . '/js/filters.js' => array(),
  );
}