You are here

public function IndexerBase::getFields in Drupal 7 to 8/9 Module Upgrader 8

Overrides IndexerInterface::getFields

3 calls to IndexerBase::getFields()
Classes::getFields in src/Plugin/DMU/Indexer/Classes.php
Functions::getFields in src/Plugin/DMU/Indexer/Functions.php
IndexerBase::bind in src/IndexerBase.php
2 methods override IndexerBase::getFields()
Classes::getFields in src/Plugin/DMU/Indexer/Classes.php
Functions::getFields in src/Plugin/DMU/Indexer/Functions.php

File

src/IndexerBase.php, line 175

Class

IndexerBase
Base class for indexers.

Namespace

Drupal\drupalmoduleupgrader

Code

public function getFields() {
  return [
    'id' => [
      'type' => 'varchar',
      'length' => 255,
      'not null' => TRUE,
    ],
    'file' => [
      'type' => 'varchar',
      'length' => 255,
      'not null' => TRUE,
    ],
  ];
}