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

Breadcrumb

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

function MediaInterface::getName

Gets the media item name.

Return value

string The name of the media item.

1 method overrides MediaInterface::getName()
Media::getName in core/modules/media/src/Entity/Media.php
Gets the media item name.

File

core/modules/media/src/MediaInterface.php, line 22

Class

MediaInterface
Provides an interface defining an entity for media items.

Namespace

Drupal\media

Code

public function getName();
RSS feed
Powered by Drupal