public function ParagraphsTypeHasEnabledBehaviorPluginTest::testInvalidPluginId in Paragraphs 8
Test that invalid plugin id's return false.
File
- tests/
src/ Kernel/ ParagraphsTypeHasEnabledBehaviorPluginTest.php, line 71
Class
- ParagraphsTypeHasEnabledBehaviorPluginTest
- Tests the ParagraphsType entity hasEnabledBehaviorPlugin functionality.
Namespace
Drupal\Tests\paragraphs\KernelCode
public function testInvalidPluginId() {
$this
->assertFalse($this->paragraphsType
->hasEnabledBehaviorPlugin('i_do_not_exist'));
}