Search for has

  1. Search 7.x for has
  2. Search 9.5.x for has
  3. Search 8.9.x for has
  4. Search 10.3.x for has
  5. Other projects
Title Object type File name Summary
CacheableNormalization::hasNoNestedInstances function core/modules/jsonapi/src/Normalizer/Value/CacheableNormalization.php Ensures that no nested values are instances of this class.
CacheCollector::has function core/lib/Drupal/Core/Cache/CacheCollector.php
CacheCollectorInterface::has function core/lib/Drupal/Core/Cache/CacheCollectorInterface.php Returns whether data exists for this key.
CalculatedPermissionsItem::hasPermission function core/lib/Drupal/Core/Session/CalculatedPermissionsItem.php Returns whether this item has a given permission.
CalculatedPermissionsItemInterface::hasPermission function core/lib/Drupal/Core/Session/CalculatedPermissionsItemInterface.php Returns whether this item has a given permission.
CalculatedPermissionsItemTest::testHasPermission function core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php Tests the permission check when the admin flag is not set.
CalculatedPermissionsItemTest::testHasPermissionWithAdminFlag function core/tests/Drupal/Tests/Core/Session/CalculatedPermissionsItemTest.php Tests the permission check when the admin flag is set.
ChangedFieldItemList::hasAffectingChanges function core/lib/Drupal/Core/Field/ChangedFieldItemList.php Determines whether the field has relevant changes.
CKEditor5PluginDefinition::hasAdminLibrary function core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php Whether this plugin has an asset library to load on the admin UI.
CKEditor5PluginDefinition::hasCKEditor5Config function core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php Whether this plugin has additional values for the CKEditor 5 configuration.
CKEditor5PluginDefinition::hasCKEditor5Plugins function core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php Whether this plugin loads CKEditor 5 plugin classes.
CKEditor5PluginDefinition::hasConditions function core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php Whether this plugin has conditions.
CKEditor5PluginDefinition::hasElements function core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php Whether this plugin allows creating/editing elements and attributes.
CKEditor5PluginDefinition::hasLibrary function core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php Whether this plugin has an asset library to load.
CKEditor5PluginDefinition::hasToolbarItems function core/modules/ckeditor5/src/Plugin/CKEditor5PluginDefinition.php Whether this plugin has toolbar items.
CKEditor5Test::testEmphasis function core/modules/ckeditor5/tests/src/FunctionalJavascript/CKEditor5Test.php Ensures that CKEditor italic model is converted to em.
Comment::hasParentComment function core/modules/comment/src/Entity/Comment.php Determines if this comment is a reply to another comment.
CommentInterface::hasParentComment function core/modules/comment/src/CommentInterface.php Determines if this comment is a reply to another comment.
ComposerInspectorTest::testPackageDevSnapshotCommitHashIsRemoved function core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php Tests that the commit hash of a dev snapshot package is ignored.
ComposerIntegrationTest::getContentHash function core/tests/Drupal/Tests/ComposerIntegrationTest.php Returns the md5 hash of the sorted content of the composer file.
ComposerIntegrationTest::testComposerLockHash function core/tests/Drupal/Tests/ComposerIntegrationTest.php Tests composer.lock content-hash.
Config::hasOverrides function core/lib/Drupal/Core/Config/Config.php Determines if overrides are applied to a key for this configuration object.
ConfigConfigurator::hasTasks function core/lib/Drupal/Core/Recipe/ConfigConfigurator.php Determines if the recipe has any config or config actions to apply.
ConfigEntityBase::hasTrustedData function core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php Gets whether on not the data is trusted.
ConfigEntityDependency::hasDependency function core/lib/Drupal/Core/Config/Entity/ConfigEntityDependency.php Determines if the entity is dependent on extensions or entities.
ConfigEntityInterface::hasTrustedData function core/lib/Drupal/Core/Config/Entity/ConfigEntityInterface.php Gets whether on not the data is trusted.
ConfigEntityStorage::has function core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php Determines if this entity already exists in storage.
ConfigEntityStorage::hasData function core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php Determines if the storage contains any data.
ConfigEntityStorageTest::testHasData function core/tests/Drupal/KernelTests/Core/Config/ConfigEntityStorageTest.php Tests the hasData() method for config entity storage.
ConfigEntityValidationTestBase::$hasLabel property core/tests/Drupal/KernelTests/Core/Config/ConfigEntityValidationTestBase.php Whether a config entity of this type has a label.
ConfigImporter::hasUnprocessedConfigurationChanges function core/lib/Drupal/Core/Config/ConfigImporter.php Checks if there are any unprocessed configuration changes.
ConfigMapperInterface::hasSchema function core/modules/config_translation/src/ConfigMapperInterface.php Checks that all pieces of this configuration mapper have a schema.
ConfigMapperInterface::hasTranslatable function core/modules/config_translation/src/ConfigMapperInterface.php Checks if pieces of this configuration mapper have translatables.
ConfigMapperInterface::hasTranslation function core/modules/config_translation/src/ConfigMapperInterface.php Checks whether there is already a translation for this mapper.
ConfigMapperManager::hasTranslatable function core/modules/config_translation/src/ConfigMapperManager.php
ConfigMapperManagerInterface::hasTranslatable function core/modules/config_translation/src/ConfigMapperManagerInterface.php Returns TRUE if the configuration data has translatable items.
ConfigMapperManagerTest::providerTestHasTranslatable function core/modules/config_translation/tests/src/Unit/ConfigMapperManagerTest.php Provides data for ConfigMapperManager::testHasTranslatable()
ConfigMapperManagerTest::testHasTranslatable function core/modules/config_translation/tests/src/Unit/ConfigMapperManagerTest.php Tests ConfigMapperManager::hasTranslatable().
ConfigNamesMapper::hasSchema function core/modules/config_translation/src/ConfigNamesMapper.php Checks that all pieces of this configuration mapper have a schema.
ConfigNamesMapper::hasTranslatable function core/modules/config_translation/src/ConfigNamesMapper.php Checks if pieces of this configuration mapper have translatables.
ConfigNamesMapper::hasTranslation function core/modules/config_translation/src/ConfigNamesMapper.php Checks whether there is already a translation for this mapper.
ConfigNamesMapperTest::providerTestHasSchema function core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php Provides data for ConfigMapperTest::testHasSchema().
ConfigNamesMapperTest::providerTestHasTranslatable function core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php Provides data for ConfigNamesMapperTest::testHasTranslatable().
ConfigNamesMapperTest::providerTestHasTranslation function core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php Provides data for ConfigNamesMapperTest::testHasTranslation().
ConfigNamesMapperTest::testHasSchema function core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php Tests ConfigNamesMapper::hasSchema().
ConfigNamesMapperTest::testHasTranslatable function core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php Tests ConfigNamesMapper::hasTranslatable().
ConfigNamesMapperTest::testHasTranslation function core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php Tests ConfigNamesMapper::hasTranslation().
Connection::hasJson function core/modules/pgsql/src/Driver/Database/pgsql/Connection.php Runs a simple query to validate json datatype support.
Connection::hasJson function core/lib/Drupal/Core/Database/Connection.php Runs a simple query to validate json datatype support.
ConnectionTest::testHasJson function core/tests/Drupal/KernelTests/Core/Database/ConnectionTest.php Tests that the method ::hasJson() returns TRUE.

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