X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fchi-teck%2Fdrupal-code-generator%2Ftemplates%2Fd7%2Fhook%2Ffield_storage_info.twig;fp=vendor%2Fchi-teck%2Fdrupal-code-generator%2Ftemplates%2Fd7%2Fhook%2Ffield_storage_info.twig;h=54ac287fd87fa3a0b2a4059a8ed6497394de1a79;hp=0000000000000000000000000000000000000000;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/chi-teck/drupal-code-generator/templates/d7/hook/field_storage_info.twig b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/field_storage_info.twig new file mode 100644 index 000000000..54ac287fd --- /dev/null +++ b/vendor/chi-teck/drupal-code-generator/templates/d7/hook/field_storage_info.twig @@ -0,0 +1,12 @@ +/** + * Implements hook_field_storage_info(). + */ +function {{ machine_name }}_field_storage_info() { + return array( + 'field_sql_storage' => array( + 'label' => t('Default SQL storage'), + 'description' => t('Stores fields in the local SQL database, using per-field tables.'), + 'settings' => array(), + ), + ); +}