Revision 6e9292aa
Added by Assos Assos over 9 years ago
drupal7/sites/all/modules/ds/ds.api.php | ||
---|---|---|
238 | 238 |
); |
239 | 239 |
$ds_field->properties = array( |
240 | 240 |
'code' => array( |
241 |
'value' => '<? print "this is a custom field"; ?>', |
|
241 |
'value' => '<?php print "this is a custom field"; ?>',
|
|
242 | 242 |
'format' => 'ds_code', |
243 | 243 |
), |
244 | 244 |
'use_token' => 0, |
... | ... | |
268 | 268 |
} |
269 | 269 |
|
270 | 270 |
/** |
271 |
* Alter fields defined by Display Suite |
|
271 |
* Alter fields defined by Display Suite. |
|
272 |
* |
|
273 |
* This function is called for each entity type. |
|
272 | 274 |
* |
273 | 275 |
* @param $fields |
274 | 276 |
* An array with fields which can be altered just before they get cached. |
Also available in: Unified diff
Weekly update of contrib modules