You are here

function angularjs_set_base_href in AngularJS 7

Sets the current base tag

Parameters

string $base_href: The base href for the application

Return value

string

1 call to angularjs_set_base_href()
angularjs_init_application in ./angularjs.module
Initializes an AngularJS application setting the application name, the base path and adds the library

File

./angularjs.module, line 276

Code

function angularjs_set_base_href($base_href) {
  $href =& drupal_static('angularjs_base_href');
  $href = $base_href;
  return $href;
}