public function getFielddefinition($name) { $fds = $this->getFieldDefinitions(); if (isset($fds[$name])) { return $fds[$name]; } return; }