You are here

public function MediaBundle::setTypeConfiguration in Media entity 8

Sets the media type configuration.

Parameters

array $configuration: The type configuration.

Overrides MediaBundleInterface::setTypeConfiguration

File

src/Entity/MediaBundle.php, line 184

Class

MediaBundle
Defines the Media bundle configuration entity.

Namespace

Drupal\media_entity\Entity

Code

public function setTypeConfiguration($configuration) {
  $this->type_configuration = $configuration;
  $this->typePluginCollection = NULL;
}