public function NagiosDynamicSettings::fields in Nagios Monitoring 8
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
- src/
Plugin/ migrate/ source/ NagiosDynamicSettings.php, line 47
Class
- NagiosDynamicSettings
- Fetches Drupal 7 variables on which module hooks are active from the source database.
Namespace
Drupal\nagios\Plugin\migrate\sourceCode
public function fields() {
return [
'name' => "The name of the variable.",
'value' => "The value of the variable.",
];
}