You are here

Text.php in Crumbs, the Breadcrumbs suite 7.2

File

lib/EntityPlugin/Field/Text.php
View source
<?php

class crumbs_EntityPlugin_Field_Text extends crumbs_EntityPlugin_Field_Abstract {

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

}

Classes