You are here

function skinr_load_include in Skinr 8.2

Same name and namespace in other branches
  1. 7.2 skinr.module \skinr_load_include()

Loads a $module.skinr.inc include file.

4 calls to skinr_load_include()
SkinEditForm::form in skinr_ui/src/Form/SkinEditForm.php
Gets the actual form array to be built.
skinr_hook in ./skinr.module
Determine whether a module implements a hook.
skinr_implements in ./skinr.module
Determine which modules are implementing a hook.
SkinsEditForm::buildForm in skinr_ui/src/Form/SkinsEditForm.php
Form constructor.

File

./skinr.module, line 623
Handles core Skinr functionality.

Code

function skinr_load_include($file) {
  if (is_file($file)) {
    include_once $file;
    return $file;
  }
  return FALSE;
}