You are here

function classy_paragraphs_get_options in Classy paragraphs 7

Get list of options from other modules.

Parameters

$field:

$instance:

Return value

array

2 calls to classy_paragraphs_get_options()
classy_paragraphs_field_validate in includes/classy_paragraphs.fields.inc
Implements hook_field_validate().
classy_paragraphs_options_list in includes/classy_paragraphs.fields.inc
Implements hook_options_list().

File

./classy_paragraphs.module, line 25
Main module file for Classy Paragraphs.

Code

function classy_paragraphs_get_options($field, $instance) {
  $options = array();
  $options = module_invoke_all('classy_paragraphs_list_options', $options, $field, $instance);
  drupal_alter('classy_paragraphs_list_options', $options);
  return $options;
}