You are here

public function LStringTranslatableSniff::registerFunctionNames in Coder 8.2

Same name and namespace in other branches
  1. 8.3 coder_sniffer/Drupal/Sniffs/Semantics/LStringTranslatableSniff.php \Drupal\Sniffs\Semantics\LStringTranslatableSniff::registerFunctionNames()
  2. 8.3.x coder_sniffer/Drupal/Sniffs/Semantics/LStringTranslatableSniff.php \Drupal\Sniffs\Semantics\LStringTranslatableSniff::registerFunctionNames()

Returns an array of function names this test wants to listen for.

Return value

array

File

coder_sniffer/Drupal/Sniffs/Semantics/LStringTranslatableSniff.php, line 31

Class

LStringTranslatableSniff
Checks that string literals passed to l() are translatable.

Namespace

Drupal\Sniffs\Semantics

Code

public function registerFunctionNames() {
  return array(
    'l',
  );
}