You are here

protected property ThemeSniff::$reservedFunctions in Coder 8.2

Same name and namespace in other branches
  1. 8.3 coder_sniffer/DrupalPractice/Sniffs/FunctionCalls/ThemeSniff.php \DrupalPractice\Sniffs\FunctionCalls\ThemeSniff::reservedFunctions
  2. 8.3.x coder_sniffer/DrupalPractice/Sniffs/FunctionCalls/ThemeSniff.php \DrupalPractice\Sniffs\FunctionCalls\ThemeSniff::reservedFunctions

List of functions starting with "theme_" that don't generate theme output.

Type: array

File

coder_sniffer/DrupalPractice/Sniffs/FunctionCalls/ThemeSniff.php, line 30

Class

ThemeSniff
\DrupalPractice\Sniffs\FunctionCalls\Checks that theme functions are not directly called.

Namespace

DrupalPractice\Sniffs\FunctionCalls

Code

protected $reservedFunctions = array(
  'theme_get_registry',
  'theme_get_setting',
  'theme_render_template',
  'theme_enable',
  'theme_disable',
  'theme_get_suggestions',
);