Révision c304a780
Ajouté par Assos Assos il y a environ 6 ans
drupal7/sites/all/modules/ctools/plugins/content_types/form/entity_form_field.inc | ||
---|---|---|
75 | 75 |
} |
76 | 76 |
$content_types[$entity_type . ':' . $group_name]['types'][$type] = $bundle['label']; |
77 | 77 |
} |
78 |
} |
|
78 |
}
|
|
79 | 79 |
} |
80 | 80 |
} |
81 | 81 |
} |
... | ... | |
93 | 93 |
} |
94 | 94 |
|
95 | 95 |
/** |
96 |
* Render the custom content type. |
|
97 |
*/ |
|
96 |
* Render the custom content type.
|
|
97 |
*/
|
|
98 | 98 |
function ctools_entity_form_field_content_type_render($subtype, $conf, $panel_args, $context) { |
99 | 99 |
if (empty($context) || empty($context->data)) { |
100 | 100 |
return; |
... | ... | |
149 | 149 |
} |
150 | 150 |
|
151 | 151 |
/** |
152 |
* Returns the administrative title for a type. |
|
153 |
*/ |
|
152 |
* Returns the administrative title for a type.
|
|
153 |
*/
|
|
154 | 154 |
function ctools_entity_form_field_content_type_admin_title($subtype, $conf, $context) { |
155 | 155 |
list($entity_type, $field_name) = explode(':', $subtype, 2); |
156 | 156 |
|
... | ... | |
165 | 165 |
} |
166 | 166 |
|
167 | 167 |
function ctools_entity_form_field_content_type_edit_form($form, &$form_state) { |
168 |
// provide a blank form so we have a place to have context setting.
|
|
168 |
// Provide a blank form so we have a place to have context setting.
|
|
169 | 169 |
return $form; |
170 | 170 |
} |
Formats disponibles : Unified diff
Weekly update of contrib modules