public function Classes::getFields in Drupal 7 to 8/9 Module Upgrader 8
Overrides IndexerBase::getFields
File
- src/
Plugin/ DMU/ Indexer/ Classes.php, line 77
Class
- Classes
- Plugin annotation @Indexer( id = "class" )
Namespace
Drupal\drupalmoduleupgrader\Plugin\DMU\IndexerCode
public function getFields() {
$fields = parent::getFields();
$fields['type'] = [
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
];
$fields['parent'] = [
'type' => 'varchar',
'length' => 255,
];
return $fields;
}