Search for exists

  1. Search 7.x for exists
  2. Search 9.5.x for exists
  3. Search 8.9.x for exists
  4. Search 10.3.x for exists
  5. Search 11.x for exists
  6. Other projects
Title Object type File name Summary
RecipeMultipleModulesConfigStorageTest::testExists function core/tests/Drupal/Tests/Core/Recipe/RecipeMultipleModulesConfigStorageTest.php Tests exists() returns TRUE when config is in any directory.
RecipeOverrideConfigStorage::exists function core/lib/Drupal/Core/Recipe/RecipeOverrideConfigStorage.php
ReflectionTest::existsForTesting function core/tests/Drupal/Tests/Component/Utility/ReflectionTest.php This method exists for reflection testing only.
RegressionTest::testDBFieldExists function core/tests/Drupal/KernelTests/Core/Database/RegressionTest.php Tests the \Drupal\Core\Database\Schema::fieldExists() method.
RegressionTest::testDBIndexExists function core/tests/Drupal/KernelTests/Core/Database/RegressionTest.php Tests the Schema::indexExists() method.
RegressionTest::testDBTableExists function core/tests/Drupal/KernelTests/Core/Database/RegressionTest.php Tests the Schema::tableExists() method.
RoleExistsConstraint class core/modules/user/src/Plugin/Validation/Constraint/RoleExistsConstraint.php Checks if a role exists.
RoleExistsConstraint.php file core/modules/user/src/Plugin/Validation/Constraint/RoleExistsConstraint.php
RoleExistsConstraint::__construct function core/modules/user/src/Plugin/Validation/Constraint/RoleExistsConstraint.php
RoleExistsConstraintValidator class core/modules/user/src/Plugin/Validation/Constraint/RoleExistsConstraintValidator.php Validates that a role exists.
RoleExistsConstraintValidator.php file core/modules/user/src/Plugin/Validation/Constraint/RoleExistsConstraintValidator.php
RoleExistsConstraintValidator::create function core/modules/user/src/Plugin/Validation/Constraint/RoleExistsConstraintValidator.php
RoleExistsConstraintValidator::validate function core/modules/user/src/Plugin/Validation/Constraint/RoleExistsConstraintValidator.php
RoleExistsConstraintValidator::__construct function core/modules/user/src/Plugin/Validation/Constraint/RoleExistsConstraintValidator.php Create a new RoleExistsConstraintValidator instance.
RoleExistsConstraintValidatorTest class core/modules/user/tests/src/Kernel/Plugin/Validation/Constraint/RoleExistsConstraintValidatorTest.php Tests Role Exists Constraint Validator.
RoleExistsConstraintValidatorTest.php file core/modules/user/tests/src/Kernel/Plugin/Validation/Constraint/RoleExistsConstraintValidatorTest.php
RoleExistsConstraintValidatorTest::$modules property core/modules/user/tests/src/Kernel/Plugin/Validation/Constraint/RoleExistsConstraintValidatorTest.php
RoleExistsConstraintValidatorTest::testRoleExists function core/modules/user/tests/src/Kernel/Plugin/Validation/Constraint/RoleExistsConstraintValidatorTest.php Tests when the constraint's entityTypeId value is not valid.
RoleExistsConstraintValidatorTest::testValueMustBeAString function core/modules/user/tests/src/Kernel/Plugin/Validation/Constraint/RoleExistsConstraintValidatorTest.php Tests that the constraint validator will only work with strings.
SandboxManagerBase::sandboxDirectoryExists function core/modules/package_manager/src/SandboxManagerBase.php Determines if there is an active sandbox with a directory on disk.
SandboxManagerBaseTest::testStageDirectoryExists function core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php Tests stage directory exists.
Schema::constraintExists function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Helper function: check if a constraint (PK, FK, UK) exists.
Schema::extensionExists function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php Determines whether the PostgreSQL extension is created.
Schema::fieldExists function core/modules/sqlite/src/Driver/Database/sqlite/Schema.php
Schema::fieldExists function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php
Schema::fieldExists function core/lib/Drupal/Core/Database/Schema.php Check if a column exists in the given table.
Schema::indexExists function core/modules/sqlite/src/Driver/Database/sqlite/Schema.php
Schema::indexExists function core/modules/mysql/src/Driver/Database/mysql/Schema.php
Schema::indexExists function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php
Schema::indexExists function core/lib/Drupal/Core/Database/Schema.php Checks if an index exists in the given table.
Schema::tableExists function core/modules/sqlite/src/Driver/Database/sqlite/Schema.php
Schema::tableExists function core/modules/pgsql/src/Driver/Database/pgsql/Schema.php
Schema::tableExists function core/lib/Drupal/Core/Database/Schema.php Check if a table exists.
SchemaObjectExistsException class core/lib/Drupal/Core/Database/SchemaObjectExistsException.php Exception thrown if an object being created already exists.
SchemaObjectExistsException.php file core/lib/Drupal/Core/Database/SchemaObjectExistsException.php
SchemaTest::testPgsqlExtensionExists function core/modules/pgsql/tests/src/Kernel/pgsql/SchemaTest.php Tests pgsql extension exists.
SchemaTest::testTableExists function core/modules/pgsql/tests/src/Kernel/pgsql/SchemaTest.php Tests the method tableExists().
SearchHelpSearch::ensureTableExists function core/modules/search/modules/search_help/src/Plugin/Search/SearchHelpSearch.php Check if the help_search_items table exists and create it if not.
SearchPageFormBase::exists function core/modules/search/src/Form/SearchPageFormBase.php Determines if the search page entity already exists.
Select::havingExists function core/lib/Drupal/Core/Database/Query/Select.php
Select::havingNotExists function core/lib/Drupal/Core/Database/Query/Select.php
SelectExtender::exists function core/lib/Drupal/Core/Database/Query/SelectExtender.php
SelectExtender::havingExists function core/lib/Drupal/Core/Database/Query/SelectExtender.php
SelectExtender::havingNotExists function core/lib/Drupal/Core/Database/Query/SelectExtender.php
SelectExtender::notExists function core/lib/Drupal/Core/Database/Query/SelectExtender.php
SelectInterface::havingExists function core/lib/Drupal/Core/Database/Query/SelectInterface.php Sets a HAVING condition that the specified subquery returns values.
SelectInterface::havingNotExists function core/lib/Drupal/Core/Database/Query/SelectInterface.php Sets a HAVING condition that the specified subquery returns no values.
SelectSubqueryTest::testExistsSubquerySelect function core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Tests EXISTS subquery conditionals on SELECT statements.
SelectSubqueryTest::testNotExistsSubquerySelect function core/tests/Drupal/KernelTests/Core/Database/SelectSubqueryTest.php Tests NOT EXISTS subquery conditionals on SELECT statements.
SessionExistsCacheContext class core/lib/Drupal/Core/Cache/Context/SessionExistsCacheContext.php Defines the SessionExistsCacheContext service, for "session or not" caching.

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