Skip to content

Instantly share code, notes, and snippets.

@vijaycs85
Created December 24, 2014 11:58
Show Gist options
  • Save vijaycs85/a4bc423b9fcad12a9627 to your computer and use it in GitHub Desktop.
Save vijaycs85/a4bc423b9fcad12a9627 to your computer and use it in GitHub Desktop.
Array
(
[0] => stdClass Object
(
[node_title] => Dog
[nid] => 16
[field_collection_item_field_data_field_date_fc_item_id] => 2
[node_created] => 1419093001
[field_data_field_date_field_collection_item_entity_type] => field_collection_item
[_field_data] => Array
(
[field_collection_item_field_data_field_date_fc_item_id] => Array
(
[entity_type] => field_collection_item
[entity] => FieldCollectionItemEntity Object
(
[fieldInfo:protected] =>
[hostEntity:protected] =>
[hostEntityId:protected] =>
[hostEntityRevisionId:protected] =>
[hostEntityType:protected] =>
[langcode:protected] => und
[item_id] => 2
[revision_id] => 2
[field_name] => field_date_fc
[default_revision] => 1
[archived] => 0
[entityType:protected] => field_collection_item
[entityInfo:protected] => Array
(
[label] => Field collection item
[label callback] => entity_class_label
[uri callback] => entity_class_uri
[entity class] => FieldCollectionItemEntity
[controller class] => EntityAPIController
[base table] => field_collection_item
[revision table] => field_collection_item_revision
[fieldable] => 1
[redirect] =>
[entity keys] => Array
(
[id] => item_id
[revision] => revision_id
[bundle] => field_name
)
[module] => field_collection
[view modes] => Array
(
[full] => Array
(
[label] => Full content
[custom settings] =>
)
)
[access callback] => field_collection_item_access
[metadata controller class] => FieldCollectionItemMetadataController
[bundles] => Array
(
[field_date_fc] => Array
(
[label] => Field collection field_date_fc
[admin] => Array
(
[path] => admin/structure/field-collections/%field_collection_field_name
[real path] => admin/structure/field-collections/field-date-fc
[bundle argument] => 3
[access arguments] => Array
(
[0] => administer field collections
)
)
[rdf_mapping] => Array
(
)
)
)
[static cache] => 1
[field cache] => 1
[load hook] => field_collection_item_load
[translation] => Array
(
)
[schema_fields_sql] => Array
(
[base table] => Array
(
[0] => item_id
[1] => revision_id
[2] => field_name
[3] => archived
)
[revision table] => Array
(
[0] => revision_id
[1] => item_id
)
)
[configuration] =>
)
[idKey:protected] => item_id
[nameKey:protected] => item_id
[statusKey:protected] => status
[defaultLabel:protected] =>
[field_date] => Array
(
[und] => Array
(
[0] => Array
(
[value] => 2014-12-24 12:00:00
[timezone] => America/Los_Angeles
[timezone_db] => UTC
[date_type] => datetime
)
)
)
[rdf_mapping] => Array
(
)
)
)
)
[field_field_date] => Array
(
[0] => Array
(
[rendered] => Array
(
[#markup] => <span class="date-display-single" property="dc:date" datatype="xsd:dateTime" content="2014-12-24T04:00:00-08:00">12/24/2014 - 04:00 PST</span>
[#access] => 1
)
[raw] => Array
(
[value] => 2014-12-24 12:00:00
[timezone] => America/Los_Angeles
[timezone_db] => UTC
[date_type] => datetime
)
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment