public function SqlCountCache::fields in Drupal 10
Same name and namespace in other branches
- 9 core/modules/migrate/tests/modules/migrate_sql_count_cache_test/src/Plugin/migrate/source/SqlCountCache.php \Drupal\migrate_sql_count_cache_test\Plugin\migrate\source\SqlCountCache::fields()
Returns available fields on the source.
Return value
array Available fields in the source, keys are the field machine names as used in field mappings, values are descriptions.
Overrides MigrateSourceInterface::fields
File
- core/
modules/ migrate/ tests/ modules/ migrate_sql_count_cache_test/ src/ Plugin/ migrate/ source/ SqlCountCache.php, line 19
Class
- SqlCountCache
- Source plugin for Sql count cache test.
Namespace
Drupal\migrate_sql_count_cache_test\Plugin\migrate\sourceCode
public function fields() {
return [
'id' => t('Id'),
];
}