/** * Get a field from the group. * * @param string $field Field name or key * @return \Tev\Field\Model\AbstractField Field object * * @throws \Exception If field does not exist */ public function field($field) { return $this->fieldFactory->createFromField($this->getFieldData($field), $this->getFieldValue($field)); }