src/Taxonomy/TaxonomyField.php
public function add(FieldTypeInterface $field): TaxonomyField
    {
        $field->setTheme('themosis.taxonomy');
        $field->setPrefix($this->options['prefix'] ?? 'th_');

        $this->repository->add($field);

        return $this;
    }
public function add(FieldTypeInterface $field): TaxonomyField
    {
        $field->setTheme('themosis.taxonomy');
        $field->setPrefix($this->options['prefix'] ?? 'th_');

        $this->repository->add($field);

        return $this;
    }
public function add ( FieldTypeInterface $ field ) : TaxonomyField { $ field -> setTheme ( 'themosis.taxonomy' ) ; $ field -> setPrefix ( $ this -> options [ 'prefix' ] ?? 'th_' ) ; $ this -> repository -> add ( $ field ) ; return $ this ; }
Add a taxonomy custom field.

@param FieldTypeInterface $field

@return $this
Add a taxonomy custom field .