drupal_autoload_interface

Versions
7
drupal_autoload_interface($interface)

Confirm 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

Code

includes/bootstrap.inc, line 1988

<?php
function drupal_autoload_interface($interface) {
  return _registry_check_code('interface', $interface);
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.