Search for getData

  1. Search 7.x for getData
  2. Search 9.5.x for getData
  3. Search 8.9.x for getData
  4. Search 10.3.x for getData
  5. Other projects
Title Object type File name Summary
SiteSettingsForm::getDatabaseErrors function core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php Get any database errors and links them to a form element.
SiteSettingsForm::getDatabaseErrorsTemplate function core/lib/Drupal/Core/Installer/Form/SiteSettingsForm.php Gets the inline template render array to display the database errors.
Sql::getDatabase function core/modules/migrate/src/Plugin/migrate/id_map/Sql.php Gets the database connection.
SqlBase::getDatabase function core/modules/migrate/src/Plugin/migrate/source/SqlBase.php Gets the database connection object.
SqlContentEntityStorage::getDataTable function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorage.php Gets the data table name.
SqlContentEntityStorageTest::testGetDataTable function core/tests/Drupal/Tests/Core/Entity/Sql/SqlContentEntityStorageTest.php Tests SqlContentEntityStorage::getDataTable().
SqlModeTest::getDatabaseConnectionInfo function core/modules/mysql/tests/src/Kernel/mysql/SqlModeTest.php Returns the Database connection info to be used for this test.
TestDatabase::getDatabasePrefix function core/lib/Drupal/Core/Test/TestDatabase.php Gets the test database prefix.
TestRun::getDatabasePrefix function core/lib/Drupal/Core/Test/TestRun.php Gets the test database prefix.
TestService::getDatabase function core/modules/system/tests/modules/autowire_test/src/TestService.php
TestSetupTraitTest::testGetDatabaseConnection function core/tests/Drupal/KernelTests/Core/Test/TestSetupTraitTest.php @covers ::getDatabaseConnection
@group legacy
TestSqlBase::getDatabase function core/modules/migrate/tests/src/Unit/SqlBaseTest.php Gets the database connection object.
TestSqlBase::getDatabase function core/modules/migrate/tests/src/Kernel/SqlBaseTest.php Gets the database without caching it.
TestSqlIdMap::getDatabase function core/modules/migrate/tests/src/Unit/TestSqlIdMap.php Gets the database connection.
TopLevelDataInterface::getData function core/modules/jsonapi/src/JsonApiResource/TopLevelDataInterface.php Returns the data for the top-level data member of a JSON:API document.
TypedData::getDataDefinition function core/lib/Drupal/Core/TypedData/TypedData.php Gets the data definition.
TypedDataInterface::getDataDefinition function core/lib/Drupal/Core/TypedData/TypedDataInterface.php Gets the data definition.
ViewsData::getData function core/modules/views/src/ViewsData.php Gets all data invoked by hook_views_data().

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