You are here

public function EntityEmbedDisplayBase::setAttributes in Entity Embed 8

Sets the values for all attributes.

Parameters

array $attributes: An array of attributes, keyed by attribute name.

File

src/EntityEmbedDisplay/EntityEmbedDisplayBase.php, line 296

Class

EntityEmbedDisplayBase
Defines a base Entity Embed Display implementation.

Namespace

Drupal\entity_embed\EntityEmbedDisplay

Code

public function setAttributes(array $attributes) {
  $this->attributes = $attributes;
}