You are here

function makemeeting_get_makemeeting_fields in Make Meeting Scheduler 7.2

Returns all fields created on the system of the type defined in makemeeting.

2 calls to makemeeting_get_makemeeting_fields()
makemeeting_update_7202 in ./makemeeting.install
Add timezone column to fields.
makemeeting_update_7204 in ./makemeeting.install
Migrate questions to date keys so that we can handle timezones

File

./makemeeting.install, line 167
Makemeeting installation schemas

Code

function makemeeting_get_makemeeting_fields() {
  $types = array_keys(makemeeting_field_info());
  $fields = [];
  foreach (field_info_fields() as $field) {
    if (in_array($field['type'], $types)) {
      $fields[] = $field;
    }
  }
  return $fields;
}