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

Breadcrumb

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

function EntityDescriptionInterface::setDescription

Sets the entity description.

Parameters

string $description: The entity description.

Return value

$this

1 method overrides EntityDescriptionInterface::setDescription()
MediaType::setDescription in core/modules/media/src/Entity/MediaType.php
Sets the entity description.

File

core/lib/Drupal/Core/Entity/EntityDescriptionInterface.php, line 26

Class

EntityDescriptionInterface
Defines the interface for entities that have a description.

Namespace

Drupal\Core\Entity

Code

public function setDescription($description);
RSS feed
Powered by Drupal