FieldConfigBase::$label

protected property FieldConfigBase::$label

The human-readable label for the field.

This will be used as the title of Form API elements for the field in entity edit forms, or as the label for the field values in displayed entities.

If not specified, this defaults to the field_name (mostly useful for fields created in tests).

Type: string

File

core/lib/Drupal/Core/Field/FieldConfigBase.php, line 71

Class

FieldConfigBase
Base class for configurable field definitions.

Namespace

Drupal\Core\Field

Code

protected $label;

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Field!FieldConfigBase.php/property/FieldConfigBase::label/8.1.x

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部