Classes, traits, and interfaces - 7.x - drupal

Primary tabs

Name Deprecated Object type Namespace File name Summary Direct uses Use statements Strings
DrupalJSONTest class modules/simpletest/tests/common.test Tests converting PHP variables to JSON strings and back.
DrupalLocalStreamWrapper abstract class includes/stream_wrappers.inc Drupal stream wrapper base class for local files. 4
DrupalMatchPathTestCase class modules/simpletest/tests/path.test Unit tests for the drupal_match_path() function in path.inc.
DrupalPrivateStreamWrapper class includes/stream_wrappers.inc Drupal private (private://) stream wrapper class.
DrupalPublicStreamWrapper class includes/stream_wrappers.inc Drupal public (public://) stream wrapper class. 1
DrupalQueue class modules/system/system.queue.inc Factory class for interacting with queues.
DrupalQueueInterface interface modules/system/system.queue.inc 2
DrupalReliableQueueInterface interface modules/system/system.queue.inc Reliable queue interface. 1
DrupalRenderTestCase class modules/simpletest/tests/common.test Tests for drupal_render().
DrupalRequestSanitizer class includes/request-sanitizer.inc Sanitizes user input from the request.
DrupalSetContentTestCase class modules/simpletest/tests/common.test Testing drupal_add_region_content and drupal_get_region_content.
DrupalSetMessageTest class modules/system/system.test Tests drupal_set_message() and related functions.
DrupalStreamWrapperInterface interface includes/stream_wrappers.inc Drupal stream wrapper extension. 1
DrupalSystemListingCompatibleTestCase class profiles/testing/modules/drupal_system_listing_compatible_test/drupal_system_listing_compatible_test.test Helper to verify tests in installation profile modules.
DrupalSystemListingTestCase class modules/simpletest/tests/common.test Tests for the drupal_system_listing() function.
DrupalTagsHandlingTestCase class modules/simpletest/tests/common.test Test drupal_explode_tags() and drupal_implode_tags().
DrupalTemporaryStreamWrapper class includes/stream_wrappers.inc Drupal temporary (temporary://) stream wrapper class.
DrupalTestCase abstract class modules/simpletest/drupal_web_test_case.php Base class for Drupal tests. 2
DrupalUnitTestCase class modules/simpletest/drupal_web_test_case.php Test case for Drupal unit tests. 38
DrupalUpdateException class includes/update.inc @class Exception class used to throw error if a module update fails.
DrupalUpdaterInterface interface includes/updater.inc Interface for a class which can update a Drupal project. 2
DrupalWebTestCase class modules/simpletest/drupal_web_test_case.php Test case for typical Drupal tests. 325
EarlyBootstrapTestCase class modules/simpletest/tests/boot.test Perform early bootstrap tests.
EnableDisableTestCase class modules/system/system.test Test module enabling/disabling functionality.
EntityCrudHookTestCase class modules/simpletest/tests/entity_crud_hook_test.test Tests invocation of hooks when performing an action.
EntityFieldQuery class includes/entity.inc Retrieves entities matching a given set of conditions.
EntityFieldQueryException class includes/entity.inc Exception thrown by EntityFieldQuery() on unsupported query syntax.
EntityFieldQueryTestCase class modules/simpletest/tests/entity_query.test Tests EntityFieldQuery.
EntityLoadTestCase class modules/simpletest/tests/entity_crud.test Tests the entity_load() function.
EntityMalformedException class includes/entity.inc Defines an exception thrown when a malformed entity is passed.
EntityPropertiesTestCase class modules/field/tests/field.test Tests entity properties.
ExampleTest class Drupal\psr_0_test\Tests modules/simpletest/tests/psr_0_test/lib/Drupal/psr_0_test/Tests/ExampleTest.php
ExampleTest class Drupal\psr_4_test\Tests modules/simpletest/tests/psr_4_test/src/Tests/ExampleTest.php
Exception class TYPO3\PharStreamWrapper misc/typo3/phar-stream-wrapper/src/Exception.php 2 7
FakeRecord class modules/simpletest/tests/database_test.test Dummy class for fetching into a class.
FeedIconTest class modules/simpletest/tests/common.test Test for theme_feed_icon().
FeedParserTestCase class modules/aggregator/aggregator.test Tests feed parsing in the Aggregator module.
FieldAttachOtherTestCase class modules/field/tests/field.test Unit test class for non-storage related field_attach_* functions.
FieldAttachStorageTestCase class modules/field/tests/field.test Unit test class for storage-related field_attach_* functions.
FieldAttachTestCase class modules/field/tests/field.test 2
FieldBulkDeleteTestCase class modules/field/tests/field.test Unit test class for field bulk delete and batch purge functionality.
FieldCrudTestCase class modules/field/tests/field.test
FieldDisplayAPITestCase class modules/field/tests/field.test
FieldException class modules/field/field.module Base class for all exceptions thrown by Field API functions. 2
FieldFormTestCase class modules/field/tests/field.test
FieldInfo class modules/field/field.info.class.inc Provides field and instance definitions for the current runtime environment.
FieldInfoTestCase class modules/field/tests/field.test
FieldInstanceCrudTestCase class modules/field/tests/field.test
FieldsOverlapException class includes/database/database.inc Exception thrown if an insert query specifies a field twice.
FieldSqlStorageTestCase class modules/field/modules/field_sql_storage/field_sql_storage.test Tests field storage.

Other projects


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