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

Breadcrumb

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

function FieldConfigInterface::setLabel

Sets the field definition label.

Parameters

string $label: The label to set.

Return value

$this

1 method overrides FieldConfigInterface::setLabel()
FieldConfigBase::setLabel in core/lib/Drupal/Core/Field/FieldConfigBase.php
Sets the field definition label.

File

core/lib/Drupal/Core/Field/FieldConfigInterface.php, line 27

Class

FieldConfigInterface
Defines an interface for configurable field definitions.

Namespace

Drupal\Core\Field

Code

public function setLabel($label);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal