Extend the structure of the site by way of content models, data storage, field types, and navigation, so it is more understandable to users.

Data Common API

Provide a simple and consistent means to interact programatically with entity data, form submissions and other Drupal data across projects and major versions.

// Create a getter for node entities
$n = data_api('node');

// Load a node entity
$node = node_load(4503);

// Use the getter to pull the first name or default.
// Do not include the language key; language is determined automatically.
$vars['name'] = $n->get($node, 'field_first_name.0.value', '{first name}');

Vocabulary Condition

Vocabulary Condition used with the Context module

Provides a Taxonomy Vocabulary condition for block visibility.

Entity Reference Override

Screenshot of a two-part field on a Drupal content editing screen, it has the anchor dragger indicating this is one of multiple draggable fields.  The first part of the field is a node reference autocomplete showing "Jessica Gordon Nembhard (4573)" has already been selected.  The second part is a rich text 'WYSIWYG' with text focusing on her authorship of Collective Courage (A History of African American Cooperative Economic Thought and Practice) and a recent speaking engagement in Bermuda.

An entity reference field paired with an accompanying text field. This custom text field on the referencing entity can be used to:

Entity Reference Quantity

A stock entity reference field with an accompanying "Quantity" value in the field definition itself.

Pages

Subscribe with RSS Subscribe to RSS - Site structure