You are here

interface DrupalSystemInterface in X Autoload 7.4

Same name and namespace in other branches
  1. 7.5 src/DrupalSystem/DrupalSystemInterface.php \Drupal\xautoload\DrupalSystem\DrupalSystemInterface

Hierarchy

Expanded class hierarchy of DrupalSystemInterface

All classes that implement DrupalSystemInterface

3 files declare their use of DrupalSystemInterface
DrupalExtensionNamespaceFinderPlugin.php in lib/ClassFinder/Plugin/DrupalExtensionNamespaceFinderPlugin.php
ServiceContainerInterface.php in lib/DIC/ServiceContainerInterface.php
ServiceFactory.php in lib/DIC/ServiceFactory.php

File

lib/DrupalSystem/DrupalSystemInterface.php, line 5

Namespace

Drupal\xautoload\DrupalSystem
View source
interface DrupalSystemInterface {

  /**
   * Replacement of variable_get().
   *
   * @param string $name
   * @param mixed $default
   *
   * @return mixed
   */
  function variableGet($name, $default = NULL);

  /**
   * Replacement of drupal_get_filename(), but returning an absolute path.
   *
   * @param string $type
   * @param string $name
   *
   * @return string
   *   The result of drupal_get_filename() with DRUPAL_ROOT . '/' prepended.
   */
  function drupalGetFilename($type, $name);

  /**
   * @param string[] $extension_names
   *   Extension names.
   *
   * @return string[]
   *   Extension types by extension name.
   */
  function getExtensionTypes($extension_names);

  /**
   * @return string[]
   *   Extension types by extension name.
   */
  function getActiveExtensions();

}

Members