You are here

function matrix_field_types in Matrix field 8.2

Same name and namespace in other branches
  1. 7.2 matrix.module \matrix_field_types()

List of all matrix field types

1 call to matrix_field_types()
matrix_field_settings_form_custom in ./matrix.admin.inc
Settings for for the custom matrix

File

./matrix.module, line 86
Contains matrix.module.

Code

function matrix_field_types() {
  return array(
    'full' => array(
      'none' => t('None'),
      'textfield' => t('Textfield'),
      'select' => t('Select list'),
      'radios' => t('Radio buttons'),
      'checkboxes' => t('Check boxes'),
      'calculation' => t('Calculation'),
      'custom' => t('Custom'),
    ),
    'limited' => array(
      'none' => t('None'),
      'calculation' => t('Calculation'),
      'custom' => t('Custom'),
    ),
    'none' => array(
      'none' => t('None'),
    ),
  );
}