src/Taxonomy/TaxonomyField.php
protected function getTermMessages()
    {
        $messages = [];

        foreach ($this->repository as $field) {
            foreach ($field->getOption('messages') as $rule => $message) {
                $messages[$field->getName().'.'.$rule] = $message;
            }
        }

        return $messages;
    }
protected function getTermMessages()
    {
        $messages = [];

        foreach ($this->repository as $field) {
            foreach ($field->getOption('messages') as $rule => $message) {
                $messages[$field->getName().'.'.$rule] = $message;
            }
        }

        return $messages;
    }
protected function getTermMessages ( ) { $ messages = [ ] ; foreach ( $ this -> repository as $ field ) { foreach ( $ field -> getOption ( 'messages' ) as $ rule => $ message ) { $ messages [ $ field -> getName ( ) . '.' . $ rule ] = $ message ; } } return $ messages ; }
Return terms errors messages.

@return array
Return terms errors messages .