Classes, traits, and interfaces - 8.x-3.x - ctools

Primary tabs

Name Deprecated Object type Namespace File name Summary Direct uses Use statements Strings
AccessInterface interface Drupal\ctools\Access src/Access/AccessInterface.php Ctools Access Interface. 1
AjaxFormTrait trait Drupal\ctools\Form src/Form/AjaxFormTrait.php Provides helper methods for using an AJAX modal. 1
AutomaticContext class Drupal\ctools\Context src/Context/AutomaticContext.php Provides a class to indicate that this context is always present.
Block class Drupal\ctools_views\Plugin\Display modules/ctools_views/src/Plugin/Display/Block.php Provides a Block display plugin. 1
BlockContent class Drupal\entity_mask_test\Entity modules/ctools_entity_mask/tests/modules/entity_mask_test/src/Entity/BlockContent.php Provides a masked version of BlockContent. 2
BlockDisplayVariant abstract class Drupal\ctools\Plugin\DisplayVariant src/Plugin/DisplayVariant/BlockDisplayVariant.php Provides a base class for a display variant that simply contains blocks. 1 2
BlockDisplayVariant class Drupal\ctools_block_display_test\Plugin\DisplayVariant tests/modules/ctools_block_display_test/src/Plugin/DisplayVariant/BlockDisplayVariant.php 1
BlockDisplayVariantTest class Drupal\Tests\ctools\Unit tests/src/Unit/BlockDisplayVariantTest.php Tests the block display variant plugin.
BlockDisplayVariantTest class Drupal\Tests\ctools\Kernel tests/src/Kernel/BlockDisplayVariantTest.php @coversDefaultClass \Drupal\ctools\Plugin\DisplayVariant\BlockDisplayVariant @group CTools
BlockPluginCollection class Drupal\ctools\Plugin src/Plugin/BlockPluginCollection.php Provides a collection of block plugins. 2
BlockPluginCollectionTest class Drupal\Tests\ctools\Unit tests/src/Unit/BlockPluginCollectionTest.php Tests the block plugin collection.
BlockVariantEvent class Drupal\ctools\Event src/Event/BlockVariantEvent.php 2
BlockVariantEvents final class Drupal\ctools\Event src/Event/BlockVariantEvents.php Contains all events dispatched while manipulating blocks in a variant. 2
BlockVariantInterface interface Drupal\ctools\Plugin src/Plugin/BlockVariantInterface.php Provides an interface for variant plugins that use block plugins. 1 2
BlockVariantTrait trait Drupal\ctools\Plugin src/Plugin/BlockVariantTrait.php Provides methods for \Drupal\ctools\Plugin\BlockVariantInterface. 2
BlockVariantTraitTest class Drupal\Tests\ctools\Unit tests/src/Unit/BlockVariantTraitTest.php Tests the methods of a block-based variant.
ConditionConfigure abstract class Drupal\ctools\Form src/Form/ConditionConfigure.php Base class for condition configur operations.
ConditionDelete abstract class Drupal\ctools\Form src/Form/ConditionDelete.php Delete Condition Confirmation Form.
ConfigUpdateSubscriber class Drupal\entity_mask_test\EventSubscriber modules/ctools_entity_mask/tests/modules/entity_mask_test/src/EventSubscriber/ConfigUpdateSubscriber.php Updates the configuration data at Runtime. 2
ConstraintConditionInterface interface Drupal\ctools src/ConstraintConditionInterface.php Interface for Constraint Conditions 1 3
ContextConfigure abstract class Drupal\ctools\Form src/Form/ContextConfigure.php Configure Context Form.
ContextDelete abstract class Drupal\ctools\Form src/Form/ContextDelete.php Provides a form for deleting an contexts and relationships.
ContextMapper class Drupal\ctools src/ContextMapper.php Maps context configurations to context objects. 1 2
ContextMapperInterface interface Drupal\ctools src/ContextMapperInterface.php Provides an interface for mapping context configurations to context objects. 1
ContextMapperTest class Drupal\Tests\ctools\Unit tests/src/Unit/ContextMapperTest.php @coversDefaultClass \Drupal\ctools\ContextMapper
ContextNotFoundException class Drupal\ctools src/ContextNotFoundException.php
CToolsViewsBasicViewBlockTest class Drupal\Tests\ctools_views\Functional modules/ctools_views/tests/src/Functional/CToolsViewsBasicViewBlockTest.php Tests ctools_views block display plugin overrides settings from a basic View.
CToolsViewsEntityViewBlockTest class Drupal\Tests\ctools_views\Functional modules/ctools_views/tests/src/Functional/CToolsViewsEntityViewBlockTest.php Tests the ctools_views block display plugin overriding entity View filters.
CToolsWizardTest class Drupal\Tests\ctools\Functional tests/src/Functional/CToolsWizardTest.php Tests basic wizard functionality.
DisplayTest class Drupal\Tests\ctools_entity_mask\Functional modules/ctools_entity_mask/tests/src/Functional/DisplayTest.php Class DisplayTest.
EntityAddWizard class Drupal\ctools_wizard_test\Wizard tests/modules/ctools_wizard_test/src/Wizard/EntityAddWizard.php
EntityAddWizardTest class Drupal\ctools_wizard_test\Wizard tests/modules/ctools_wizard_test/src/Wizard/EntityAddWizardTest.php
EntityBundle

in ctools:8.x-1.10. Will be removed before ctools:4.1.0. Use \Drupal\Core\Entity\Plugin\Condition\Deriver\EntityBundle instead.

class Drupal\ctools\Plugin\Deriver src/Plugin/Deriver/EntityBundle.php Deriver that creates a condition for each entity type with bundles.
EntityBundle class Drupal\ctools\Plugin\Condition src/Plugin/Condition/EntityBundle.php Entity Bundle Constraints 1 1
EntityCreationTrait trait Drupal\ctools\Testing src/Testing/EntityCreationTrait.php Trait used for common entity creation methods. 1
EntityDeriverBase abstract class Drupal\ctools\Plugin\Deriver src/Plugin/Deriver/EntityDeriverBase.php An abstract base class that sets up the needs of entity specific derivers. 3 1
EntityEditWizard class Drupal\ctools_wizard_test\Wizard tests/modules/ctools_wizard_test/src/Wizard/EntityEditWizard.php 1
EntityEditWizardTest class Drupal\ctools_wizard_test\Wizard tests/modules/ctools_wizard_test/src/Wizard/EntityEditWizardTest.php 1
EntityField class Drupal\ctools_block\Plugin\Block modules/ctools_block/src/Plugin/Block/EntityField.php Provides a block to a field on an entity.
EntityFieldBlockTest class Drupal\Tests\ctools_block\Functional modules/ctools_block/tests/src/Functional/EntityFieldBlockTest.php Tests the entity field block.
EntityFieldDeriver class Drupal\ctools_block\Plugin\Deriver modules/ctools_block/src/Plugin/Deriver/EntityFieldDeriver.php Provides entity field block definitions for every field.
EntityFormWizardBase abstract class Drupal\ctools\Wizard src/Wizard/EntityFormWizardBase.php The base class for all entity form wizards. 2 2
EntityFormWizardInterface interface Drupal\ctools\Wizard src/Wizard/EntityFormWizardInterface.php Form wizard interface for use with entities. 1
EntityLazyLoadContext class Drupal\ctools\Context src/Context/EntityLazyLoadContext.php Defines context that loads entity on demand. 2
EntityMaskTest class Drupal\Tests\ctools_entity_mask\Kernel modules/ctools_entity_mask/tests/src/Kernel/EntityMaskTest.php Basic test of entity type masking.
EntityView class Drupal\ctools\Plugin\Block src/Plugin/Block/EntityView.php Provides a block to view a specific entity. 1
EntityViewDeriver class Drupal\ctools\Plugin\Deriver src/Plugin/Deriver/EntityViewDeriver.php Provides entity view block definitions for each entity type.
EntityViewTest class Drupal\Tests\ctools\Kernel\Plugin\Block tests/src/Kernel/Plugin/Block/EntityViewTest.php Tests the entity_view block plugin.
EntityWizard class Drupal\ctools_wizard_test\Wizard tests/modules/ctools_wizard_test/src/Wizard/EntityWizard.php 1
ExampleConfigEntity class Drupal\ctools_wizard_test\Entity tests/modules/ctools_wizard_test/src/Entity/ExampleConfigEntity.php Defines the Example config entity entity.

Other projects