9 calls to EntityContextDefinition::fromEntityTypeId() in Drupal 10
- ContextPluginTest::testContext in core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ ContextPluginTest.php - Tests basic context definition and value getters and setters.
- DefaultsSectionStorageTest::setUp in core/
modules/ layout_builder/ tests/ src/ Kernel/ DefaultsSectionStorageTest.php - DefaultsSectionStorageTest::testThirdPartySettings in core/
modules/ layout_builder/ tests/ src/ Unit/ DefaultsSectionStorageTest.php - @covers ::getThirdPartySetting @covers ::setThirdPartySetting
- Entity::getContextDefinition in core/
modules/ views/ src/ Plugin/ views/ argument_validator/ Entity.php - EntityContextDefinitionIsSatisfiedTest::testIsSatisfiedByPassBundledEntity in core/
tests/ Drupal/ Tests/ Core/ Plugin/ Context/ EntityContextDefinitionIsSatisfiedTest.php - @covers ::isSatisfiedBy @covers ::dataTypeMatches @covers ::getSampleValues @covers ::getConstraintObjects
- FieldBlockDeriver::getDerivativeDefinitions in core/
modules/ layout_builder/ src/ Plugin/ Derivative/ FieldBlockDeriver.php - FieldBlockTest::getTestBlock in core/
modules/ layout_builder/ tests/ src/ Kernel/ FieldBlockTest.php - Instantiates a block for testing.
- OptionalContextConditionTest::testContextNoValue in core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ Condition/ OptionalContextConditionTest.php - Tests with both contexts mapped to the same user.
- PluginTestBase::setUp in core/
tests/ Drupal/ KernelTests/ Core/ Plugin/ PluginTestBase.php