You are here

public function YAMLFrontMatterImporter::getInfo in Loft Data Grids 7.2

Return info about this class

Return value

array

  • name string The human name of this importer
  • shortname string A more concise human name for ui elements like

option lists

  • description string A further description
  • extension string The file extension used by this class

Overrides ImporterInterface::getInfo

File

vendor/aklump/loft_data_grids/src/AKlump/LoftDataGrids/YAMLFrontMatterImporter.php, line 23

Class

YAMLFrontMatterImporter
Class YAMLFrontMatterImporter

Namespace

AKlump\LoftDataGrids

Code

public function getInfo() {
  $info = array(
    'name' => 'YAML Text File with Front Matter Format',
    'shortname' => 'YAML + Text',
    'description' => 'Import data from a text file with YAML Front Matter.',
  );
  return $info;
}