public function ColourDefinitionSniff::register in Coder 8.2
Same name and namespace in other branches
- 8.3 coder_sniffer/Drupal/Sniffs/CSS/ColourDefinitionSniff.php \Drupal\Sniffs\CSS\ColourDefinitionSniff::register()
- 8.3.x coder_sniffer/Drupal/Sniffs/CSS/ColourDefinitionSniff.php \Drupal\Sniffs\CSS\ColourDefinitionSniff::register()
Returns the token types that this sniff is interested in.
Return value
array(int)
File
- coder_sniffer/
Drupal/ Sniffs/ CSS/ ColourDefinitionSniff.php, line 40
Class
Namespace
Drupal\Sniffs\CSSCode
public function register() {
return array(
T_COLOUR,
);
}