public function PictureMapping::__construct

Overrides Drupal\config\ConfigEntityBase::__construct().

Overrides ConfigEntityBase::__construct

File

drupal/core/modules/picture/lib/Drupal/picture/Plugin/Core/Entity/PictureMapping.php, line 78
Definition of Drupal\picture\PictureMapping.

Class

PictureMapping
Defines the Picture entity.

Namespace

Drupal\picture\Plugin\Core\Entity

Code

public function __construct(array $values, $entity_type) {
  parent::__construct($values, $entity_type);
  $this
    ->loadBreakpointGroup();
  $this
    ->loadAllMappings();
}