Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. TermInterface.php

function 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);
RSS feed
Powered by Drupal