function TermInterface::setFormat

Same name and namespace in other branches
  1. 9 core/modules/taxonomy/src/TermInterface.php \Drupal\taxonomy\TermInterface::setFormat()
  2. 8.9.x core/modules/taxonomy/src/TermInterface.php \Drupal\taxonomy\TermInterface::setFormat()
  3. 10 core/modules/taxonomy/src/TermInterface.php \Drupal\taxonomy\TermInterface::setFormat()

Sets the text format name for the term description.

Parameters

string $format: The text format name.

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 description.

File

core/modules/taxonomy/src/TermInterface.php, line 49

Class

TermInterface
Provides an interface defining a taxonomy term entity.

Namespace

Drupal\taxonomy

Code

public function setFormat($format);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.