7 bootstrap.inc | drupal_autoload_interface($interface) |
Confirms that an interface is available.
This function is rarely called directly. Instead, it is registered as an spl_autoload() handler, and PHP calls it for us when necessary.
Parameters
$interface: The name of the interface to check or load.
Return value
TRUE if the interface is currently available, FALSE otherwise.
Related topics
2 string references to 'drupal_autoload_interface'
File
- includes/
bootstrap.inc, line 2995 - Functions that need to be loaded on every Drupal request.
Code
function drupal_autoload_interface($interface) {
return _registry_check_code('interface', $interface);
}
Login or register to post comments