by
60 6
0
5
3,403
1
Top 1% !
Popular
Famous
Specified
OpenSource
Popularity: 3728th place

Published on:

No tags for this snippet yet.
LanguageText
LicenseMIT_X11

field base sample array

Drupal 7 programmatically-added field base array
Copy Embed Code
<iframe id="embedFrame" style="width:600px; height:300px;"
src="https://www.snip2code.com/Embed/183178/field-base-sample-array?startLine=0"></iframe>
Click on the embed code to copy it into your clipboard Width Height
Leave empty to retrieve all the content Start End
return array( 'widget_height' => array( 'active' => 1, 'cardinality' => 1, 'deleted' => 0, 'entity_types' => array(), 'field_name' => 'widget_height', 'foreign keys' => array(), 'indexes' => array(), 'label' => $t('Widget Height'), 'locked' => 0, 'module' => 'number', 'settings' => array(), 'translatable' => 0, 'type' => 'number_integer', ), );
If you want to be updated about similar snippets, Sign in and follow our Channels

blog comments powered by Disqus