You are here

function emfield_field_settings in Embedded Media Field 6.3

Implementation of hook_field_settings().

File

./emfield.module, line 63
Embedded Media Field is a CCK-based framework for embedding media files.

Code

function emfield_field_settings($op, $field) {
  switch ($op) {
    case 'database columns':

      // Store the URI of the embedded media.
      $columns = array(
        'uri' => array(
          'description' => 'Unique URI for the media.',
          'type' => 'varchar',
          'length' => 255,
          'not null' => TRUE,
          'default' => '',
        ),
      );
      return $columns;
  }
}