You are here

public function MiconIconInterface::addClass in Micon 8

Same name and namespace in other branches
  1. 2.x 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 112

Class

MiconIconInterface
Defines an object which can be rendered by the Render API.

Namespace

Drupal\micon

Code

public function addClass($classes);