t('ID'), ]; } /** * {@inheritdoc} */ public function initializeIterator() { return new \ArrayIterator([['id' => '']]); } /** * Allows class to decide how it will react when it is treated like a string. */ public function __toString() { return ''; } /** * {@inheritdoc} */ public function getIds() { $ids['id']['type'] = 'string'; return $ids; } /** * {@inheritdoc} */ public function count($refresh = FALSE) { return 1; } }