public function Attributes::setAttributes in Express 8
Sets multiple attributes on the array.
Parameters
array $values: An associative key/value array of attributes to set.
See also
\Drupal\bootstrap\Utility\ArrayObject::merge()
File
- themes/
contrib/ bootstrap/ src/ Utility/ Attributes.php, line 166 - Contains \Drupal\bootstrap\Utility\Attributes.
Class
- Attributes
- Class to help modify attributes.
Namespace
Drupal\bootstrap\UtilityCode
public function setAttributes(array $values) {
$this
->merge($values);
}