public function ParagraphsTypeHasEnabledBehaviorPluginTest::testValidPluginIds

Tests the behavior settings API.

File

paragraphs/tests/src/Kernel/ParagraphsTypeHasEnabledBehaviorPluginTest.php, line 63

Class

ParagraphsTypeHasEnabledBehaviorPluginTest
Tests the ParagraphsType entity hasEnabledBehaviorPlugin functionality.

Namespace

Drupal\Tests\paragraphs\Kernel

Code

public function testValidPluginIds() {
  $this
    ->assertTrue($this->paragraphsType
    ->hasEnabledBehaviorPlugin('test_text_color'));
  $this
    ->assertFalse($this->paragraphsType
    ->hasEnabledBehaviorPlugin('test_dummy_behavior'));
}