Projet

Général

Profil

Révision 6e3ce7c2

Ajouté par Assos Assos il y a environ 3 ans

Weekly update of contrib modules

Voir les différences:

drupal7/sites/all/modules/ctools/plugins/content_types/form/entity_form_field.inc
152 152
 * Returns the administrative title for a type.
153 153
 */
154 154
function ctools_entity_form_field_content_type_admin_title($subtype, $conf, $context) {
155
  // Return early because we don't have context to build this field from.
156
  if (!$context || !isset($context->identifier)) {
157
    watchdog('ctools_entity_form_field_content_type_admin_title', 'Context is missing for field: @name', array('@name' => $subtype), WATCHDOG_NOTICE);
158
    return t('Deleted/missing field @name', array('@name' => $subtype));
159
  }
160

  
155 161
  list($entity_type, $field_name) = explode(':', $subtype, 2);
156 162

  
157 163
  if (!empty($context->restrictions)) {

Formats disponibles : Unified diff