public function MiconIconInterface::addClass in Micon 2.x
Same name and namespace in other branches
- 8 src/MiconIconInterface.php \Drupal\micon\MiconIconInterface::addClass()
Adds classes or merges them on to array of existing CSS classes.
Parameters
string|array ...: CSS classes to add to the class attribute array.
Return value
$this
1 method overrides MiconIconInterface::addClass()
- MiconIcon::addClass in src/
MiconIcon.php - Adds classes or merges them on to array of existing CSS classes.
File
- src/
MiconIconInterface.php, line 120
Class
- MiconIconInterface
- Defines an object which can be rendered by the Render API.
Namespace
Drupal\miconCode
public function addClass($classes);