You are here

function pmteam_update_7200 in Drupal PM (Project Management) 8

Same name and namespace in other branches
  1. 7.3 pmteam/pmteam.install \pmteam_update_7200()
  2. 7.2 pmteam/pmteam.install \pmteam_update_7200()

Change team parent field cardinality to 1.

File

pmteam/pmteam.install, line 95
Install, uninstall and update functions for the PM Team module.

Code

function pmteam_update_7200() {
  $field = array(
    'field_name' => 'pmteam_organization',
    'cardinality' => 1,
  );
  field_update_field($field);
}