Beispiel #1
0
 /**
  * {@inheritdoc}
  */
 protected function setUp()
 {
     parent::setUp();
     $this->filter = FilterFormat::create(['format' => 'test_format', 'name' => $this->randomMachineName()]);
     $this->filter->setFilterConfig('video_embed_wysiwyg', ['status' => 1]);
     $this->filter->save();
 }
 /**
  * {@inheritdoc}
  */
 protected function setUp()
 {
     parent::setUp();
     $this->style = ImageStyle::create(array('name' => 'style_foo', 'label' => $this->randomString()));
     $this->style->save();
     $this->replacementStyle = ImageStyle::create(array('name' => 'style_bar', 'label' => $this->randomString()));
     $this->replacementStyle->save();
     $this->entityTypeManager = \Drupal::entityTypeManager();
 }