You are here

function crumbs_EntityPlugin_Field_Text::fieldFindCandidate in Crumbs, the Breadcrumbs suite 7.2

Parameters

array $items:

Return value

string

Overrides crumbs_EntityPlugin_Field_Abstract::fieldFindCandidate

File

lib/EntityPlugin/Field/Text.php, line 8

Class

crumbs_EntityPlugin_Field_Text

Code

function fieldFindCandidate(array $items) {
  foreach ($items as $item) {
    return $item['value'];
  }
  return NULL;
}