Classes, traits, and interfaces - 10.3.x - drupal
Introduction to classes
A lot of the PHP code in Drupal is object oriented (OO), making use of PHP classes, interfaces, and traits. See the Objected-oriented programming conventions for more information.
See also
Objected-oriented programming conventions
File
-
core/
core.api.php, line 1518
Name | Deprecated | Object type | Namespace | File name | Summary | Direct uses | Use statements | Strings |
---|---|---|---|---|---|---|---|---|
MigrateSearchPageTest | class | Drupal\Tests\search\Kernel\Migrate\d7 | core/ |
Tests migration of search page status and settings. | ||||
MigrateSearchSettingsTest | class | Drupal\Tests\search\Kernel\Migrate\d6 | core/ |
Upgrade variables to search.settings.yml. | ||||
MigrateSearchSettingsTest | class | Drupal\Tests\search\Kernel\Migrate\d7 | core/ |
Tests migration of Search variables to configuration. | ||||
MigrateShortcutSetTest | class | Drupal\Tests\shortcut\Kernel\Migrate\d7 | core/ |
Test shortcut_set migration to ShortcutSet entities. | ||||
MigrateShortcutSetUsersTest | class | Drupal\Tests\shortcut\Kernel\Migrate\d7 | core/ |
Test shortcut_set_users migration. | ||||
MigrateShortcutStubTest | class | Drupal\Tests\shortcut\Kernel\Migrate | core/ |
Test stub creation for shortcut entities. | ||||
MigrateShortcutTest | class | Drupal\Tests\shortcut\Kernel\Migrate\d7 | core/ |
Test shortcut menu links migration to Shortcut entities. | ||||
MigrateSkipProcessException | in drupal:10.3.0 and is removed from drupal:12.0.0. Return FALSE from a process plugin's isPipelineStopped() method to stop further processing on a pipeline. |
class | Drupal\migrate | core/ |
This exception is thrown when the rest of the process should be skipped. | 1 | ||
MigrateSkipProcessExceptionTest | class | Drupal\Tests\migrate\Unit\Exception | core/ |
Tests deprecation error on MigrateSkipProcessException. | ||||
MigrateSkipRowException | class | Drupal\migrate | core/ |
This exception is thrown when a row should be skipped. | 21 | |||
MigrateSkipRowTest | class | Drupal\Tests\migrate\Kernel | core/ |
Tests row skips triggered during hook_migrate_prepare_row(). | ||||
MigrateSource | class | Drupal\migrate\Annotation | core/ |
Defines a migration source plugin annotation object. | ||||
MigrateSourceInterface | interface | Drupal\migrate\Plugin | core/ |
Defines an interface for migrate sources. | 2 | 11 | ||
MigrateSourcePluginManager | class | Drupal\migrate\Plugin | core/ |
Plugin manager for migrate source plugins. | 2 | 2 | ||
MigrateSourceTest | class | Drupal\Tests\migrate\Unit | core/ |
@coversDefaultClass \Drupal\migrate\Plugin\migrate\source\SourcePluginBase[[api-linebreak]] @group migrate | ||||
MigrateSourceTestBase | abstract class | Drupal\Tests\migrate\Kernel | core/ |
Base class for tests of Migrate source plugins. | 1 | |||
MigrateSqlIdMapEnsureTablesTest | class | Drupal\Tests\migrate\Unit | core/ |
Tests the SQL ID map plugin ensureTables() method. | ||||
MigrateSqlIdMapTest | class | Drupal\Tests\migrate\Unit | core/ |
Tests the SQL ID map plugin. | ||||
MigrateSqlSourceCountCacheTest | class | Drupal\Tests\migrate\Kernel\Plugin\source | core/ |
Tests SqlBase source count caching. | ||||
MigrateSqlSourceTestBase | abstract class | Drupal\Tests\migrate\Kernel | core/ |
Base class for tests of Migrate source plugins that use a database. | 99 | 98 | ||
MigrateStatisticsConfigsTest | class | Drupal\Tests\statistics\Kernel\Migrate\d6 | core/ |
Upgrade variables to statistics.settings.yml. | ||||
MigrateStatisticsConfigsTest | class | Drupal\Tests\statistics\Kernel\Migrate\d7 | core/ |
Upgrade variables to statistics.settings.yml. | ||||
MigrateStatusTest | class | Drupal\Tests\migrate\Kernel | core/ |
Tests migration status tracking. | ||||
MigrateStub | class | Drupal\migrate | core/ |
Provides the migrate stubbing service. | 2 | 2 | ||
MigrateStubInterface | interface | Drupal\migrate | core/ |
Provides an interface for the migrate stub service. | 1 | 1 | ||
MigrateStubTest | class | Drupal\Tests\migrate\Unit | core/ |
Tests the migrate stub service. | ||||
MigrateStubTest | class | Drupal\Tests\migrate\Kernel | core/ |
Tests the migrate.stub Service. | ||||
MigrateSyslogConfigsTest | class | Drupal\Tests\syslog\Kernel\Migrate\d6 | core/ |
Upgrade variables to syslog.settings.yml. | ||||
MigrateSyslogConfigsTest | class | Drupal\Tests\syslog\Kernel\Migrate\d7 | core/ |
Upgrade variables to syslog.settings.yml. | ||||
MigrateSystemConfigurationTest | class | Drupal\Tests\system\Kernel\Migrate\d6 | core/ |
Migrates various configuration objects owned by the System module. | ||||
MigrateSystemConfigurationTest | class | Drupal\Tests\system\Kernel\Migrate\d7 | core/ |
Migrates various configuration objects owned by the System module. | ||||
MigrateSystemMaintenanceTranslationTest | class | Drupal\Tests\config_translation\Kernel\Migrate\d6 | core/ |
Upgrade i18n maintenance variables to system.*.yml. | ||||
MigrateSystemMaintenanceTranslationTest | class | Drupal\Tests\config_translation\Kernel\Migrate\d7 | core/ |
Tests migrations of i18n maintenance variable. | ||||
MigrateSystemSiteTranslationTest | class | Drupal\Tests\config_translation\Kernel\Migrate\d6 | core/ |
Upgrade i18n_strings site variables to system.*.yml. | ||||
MigrateSystemSiteTranslationTest | class | Drupal\Tests\config_translation\Kernel\Migrate\d7 | core/ |
Migrate multilingual site variables. | ||||
MigrateTaxonomyConfigsTest | class | Drupal\Tests\taxonomy\Kernel\Migrate | core/ |
Upgrade variables to taxonomy.settings.yml. | ||||
MigrateTaxonomyTermStubTest | class | Drupal\Tests\taxonomy\Kernel\Migrate | core/ |
Test stub creation for taxonomy terms. | ||||
MigrateTaxonomyTermTest | class | Drupal\Tests\taxonomy\Kernel\Migrate\d6 | core/ |
Upgrade taxonomy terms. | ||||
MigrateTaxonomyTermTest | class | Drupal\Tests\taxonomy\Kernel\Migrate\d7 | core/ |
Upgrade taxonomy terms. | ||||
MigrateTaxonomyTermTest | class | Drupal\Tests\forum\Kernel\Migrate\d6 | core/ |
Test migration of forum taxonomy terms. | ||||
MigrateTaxonomyTermTest | class | Drupal\Tests\forum\Kernel\Migrate\d7 | core/ |
Test migration of forum taxonomy terms. | ||||
MigrateTaxonomyTermTranslationTest | class | Drupal\Tests\forum\Kernel\Migrate\d7 | core/ |
Test migration of translated taxonomy terms. | ||||
MigrateTaxonomyTermTranslationTest | class | Drupal\Tests\taxonomy\Kernel\Migrate\d7 | core/ |
Test migration of translated taxonomy terms. | 1 | 1 | ||
MigrateTaxonomyTermTranslationTest | class | Drupal\Tests\content_translation\Kernel\Migrate\d6 | core/ |
Test migration of translated taxonomy terms. | ||||
MigrateTaxonomyVocabularyTest | class | Drupal\Tests\taxonomy\Kernel\Migrate\d6 | core/ |
Migrate taxonomy vocabularies to taxonomy.vocabulary.*.yml. | 1 | 1 | ||
MigrateTaxonomyVocabularyTest | class | Drupal\Tests\taxonomy\Kernel\Migrate\d7 | core/ |
Migrate taxonomy vocabularies to taxonomy.vocabulary.*.yml. | 1 | 1 | ||
MigrateTaxonomyVocabularyTest | class | Drupal\Tests\forum\Kernel\Migrate\d6 | core/ |
Migrate forum vocabulary to taxonomy.vocabulary.*.yml. | ||||
MigrateTaxonomyVocabularyTest | class | Drupal\Tests\forum\Kernel\Migrate\d7 | core/ |
Migrate forum vocabulary to taxonomy.vocabulary.*.yml. | ||||
MigrateTaxonomyVocabularyTranslationTest | class | Drupal\Tests\taxonomy\Kernel\Migrate\d6 | core/ |
Migrate taxonomy vocabularies to taxonomy.vocabulary.*.yml. | ||||
MigrateTaxonomyVocabularyTranslationTest | class | Drupal\Tests\taxonomy\Kernel\Migrate\d7 | core/ |
Migrate taxonomy vocabularies to taxonomy.vocabulary.*.yml. |
Pagination
- Previous page
- Page 119
- Next page
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.