Search for condition

  1. Search 7.x for condition
  2. Search 9.5.x for condition
  3. Search 10.3.x for condition
  4. Search 11.x for condition
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Condition class core/lib/Drupal/Core/Config/Entity/Query/Condition.php Defines the condition class for the config entity query.
Condition class core/lib/Drupal/Core/Database/Query/Condition.php Generic class for a series of conditions in a query.
Condition class core/lib/Drupal/Core/Entity/Query/Sql/Condition.php Implements entity query conditions for SQL databases.
Condition class core/lib/Drupal/Core/Entity/Query/Sql/pgsql/Condition.php Implements entity query conditions for PostgreSQL databases.
Condition class core/lib/Drupal/Core/Entity/Query/Null/Condition.php Defines the condition class for the null entity query.
Condition class core/lib/Drupal/Core/Entity/KeyValueStore/Query/Condition.php Defines the condition class for the key value entity query.
Condition class core/lib/Drupal/Core/Condition/Annotation/Condition.php Defines a condition plugin annotation object.

All search results

Title Object type File name Summary
ConditionInterface::exists function core/lib/Drupal/Core/Database/Query/ConditionInterface.php Sets a condition that the specified subquery returns values.
ConditionInterface::getConjunction function core/lib/Drupal/Core/Entity/Query/ConditionInterface.php Gets the current conjunction.
ConditionInterface::isNegated function core/lib/Drupal/Core/Condition/ConditionInterface.php Determines whether condition result will be negated.
ConditionInterface::isNotNull function core/lib/Drupal/Core/Database/Query/ConditionInterface.php Sets a condition that the specified field be NOT NULL.
ConditionInterface::isNull function core/lib/Drupal/Core/Database/Query/ConditionInterface.php Sets a condition that the specified field be NULL.
ConditionInterface::notExists function core/lib/Drupal/Core/Entity/Query/ConditionInterface.php Queries for the nonexistence of a field.
ConditionInterface::notExists function core/lib/Drupal/Core/Database/Query/ConditionInterface.php Sets a condition that the specified subquery returns no values.
ConditionInterface::orConditionGroup function core/lib/Drupal/Core/Database/Query/ConditionInterface.php Creates a new group of conditions ORed together.
ConditionInterface::setExecutableManager function core/lib/Drupal/Core/Condition/ConditionInterface.php Sets the executable manager class.
ConditionInterface::summary function core/lib/Drupal/Core/Condition/ConditionInterface.php Provides a human readable summary of the condition's configuration.
ConditionInterface::where function core/lib/Drupal/Core/Database/Query/ConditionInterface.php Adds an arbitrary WHERE clause to the query.
ConditionManager class core/lib/Drupal/Core/Condition/ConditionManager.php A plugin manager for condition plugins.
ConditionManager.php file core/lib/Drupal/Core/Condition/ConditionManager.php
ConditionManager::createInstance function core/lib/Drupal/Core/Condition/ConditionManager.php
ConditionManager::execute function core/lib/Drupal/Core/Condition/ConditionManager.php Executes an executable plugin.
ConditionManager::getType function core/lib/Drupal/Core/Condition/ConditionManager.php A string identifying the plugin type.
ConditionManager::__construct function core/lib/Drupal/Core/Condition/ConditionManager.php Constructs a ConditionManager object.
ConditionPluginBase class core/lib/Drupal/Core/Condition/ConditionPluginBase.php Provides a basis for fulfilling contexts for condition plugins.
ConditionPluginBase.php file core/lib/Drupal/Core/Condition/ConditionPluginBase.php
ConditionPluginBase::$executableManager property core/lib/Drupal/Core/Condition/ConditionPluginBase.php The condition manager to proxy execute calls through.
ConditionPluginBase::buildConfigurationForm function core/lib/Drupal/Core/Condition/ConditionPluginBase.php Form constructor.
ConditionPluginBase::calculateDependencies function core/lib/Drupal/Core/Condition/ConditionPluginBase.php Calculates dependencies for the configured plugin.
ConditionPluginBase::defaultConfiguration function core/lib/Drupal/Core/Condition/ConditionPluginBase.php Gets default configuration for this plugin.
ConditionPluginBase::execute function core/lib/Drupal/Core/Condition/ConditionPluginBase.php Executes the plugin.
ConditionPluginBase::getConfiguration function core/lib/Drupal/Core/Condition/ConditionPluginBase.php Gets this plugin's configuration.
ConditionPluginBase::isNegated function core/lib/Drupal/Core/Condition/ConditionPluginBase.php Determines whether condition result will be negated.
ConditionPluginBase::setConfiguration function core/lib/Drupal/Core/Condition/ConditionPluginBase.php Sets the configuration for this plugin instance.
ConditionPluginBase::setExecutableManager function core/lib/Drupal/Core/Condition/ConditionPluginBase.php Sets the executable manager class.
ConditionPluginBase::submitConfigurationForm function core/lib/Drupal/Core/Condition/ConditionPluginBase.php Form submission handler.
ConditionPluginBase::validateConfigurationForm function core/lib/Drupal/Core/Condition/ConditionPluginBase.php Form validation handler.
ConditionPluginBase::__construct function core/lib/Drupal/Core/Condition/ConditionPluginBase.php Overrides \Drupal\Component\Plugin\PluginBase::__construct().
ConditionPluginCollection class core/lib/Drupal/Core/Condition/ConditionPluginCollection.php Provides a collection of condition plugins.
ConditionPluginCollection.php file core/lib/Drupal/Core/Condition/ConditionPluginCollection.php
ConditionPluginCollection::$conditionContexts property core/lib/Drupal/Core/Condition/ConditionPluginCollection.php An array of collected contexts for conditions.
ConditionPluginCollection::addContext function core/lib/Drupal/Core/Condition/ConditionPluginCollection.php Sets the condition context for a given name.
ConditionPluginCollection::get function core/lib/Drupal/Core/Condition/ConditionPluginCollection.php
ConditionPluginCollection::getConditionContexts function core/lib/Drupal/Core/Condition/ConditionPluginCollection.php Gets the values for all defined contexts.
ConditionPluginCollection::getConfiguration function core/lib/Drupal/Core/Condition/ConditionPluginCollection.php Gets the current configuration of all plugins in this collection.
ConditionTest class core/tests/Drupal/Tests/Core/Database/ConditionTest.php @coversDefaultClass \Drupal\Core\Database\Query\Condition
ConditionTest.php file core/tests/Drupal/Tests/Core/Database/ConditionTest.php
ConditionTest::dataProviderTestCompileWithKnownOperators function core/tests/Drupal/Tests/Core/Database/ConditionTest.php Provides a list of known operations and the expected output.
ConditionTest::providerSimpleCondition function core/tests/Drupal/Tests/Core/Database/ConditionTest.php Provides a list of known operations and the expected output.
ConditionTest::providerTestCompileWithSqlInjectionForOperator function core/tests/Drupal/Tests/Core/Database/ConditionTest.php
ConditionTest::testCompileWithKnownOperators function core/tests/Drupal/Tests/Core/Database/ConditionTest.php @covers ::compile
ConditionTest::testCompileWithSqlInjectionForOperator function core/tests/Drupal/Tests/Core/Database/ConditionTest.php @covers ::compile
ConditionTest::testContribCondition function core/tests/Drupal/Tests/Core/Database/ConditionTest.php Test that the core Condition can be overridden.
ConditionTest::testSimpleCondition function core/tests/Drupal/Tests/Core/Database/ConditionTest.php @covers ::compile
@dataProvider providerSimpleCondition()
ConditionTestDualUser class core/modules/system/tests/modules/condition_test/src/Plugin/Condition/ConditionTestDualUser.php Provides a condition that requires two users.
ConditionTestDualUser.php file core/modules/system/tests/modules/condition_test/src/Plugin/Condition/ConditionTestDualUser.php
ConditionTestDualUser::evaluate function core/modules/system/tests/modules/condition_test/src/Plugin/Condition/ConditionTestDualUser.php Evaluates the condition and returns TRUE or FALSE accordingly.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.