public function TermInterface::setFormat in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/taxonomy/src/TermInterface.php \Drupal\taxonomy\TermInterface::setFormat()
Sets the text format name for the term's description.
Parameters
string $format: The term's description text format.
Return value
$this
1 method overrides TermInterface::setFormat()
- Term::setFormat in core/
modules/ taxonomy/ src/ Entity/ Term.php - Sets the text format name for the term's description.
File
- core/
modules/ taxonomy/ src/ TermInterface.php, line 52 - Contains \Drupal\taxonomy\TermInterface.
Class
- TermInterface
- Provides an interface defining a taxonomy term entity.
Namespace
Drupal\taxonomyCode
public function setFormat($format);