class Label
Same name in this branch
- 11.1.x vendor/google/protobuf/src/Google/Protobuf/Internal/FieldDescriptorProto/Label.php \Google\Protobuf\Internal\FieldDescriptorProto\Label
- 11.1.x core/lib/Drupal/Core/Render/Element/Label.php \Drupal\Core\Render\Element\Label
Hierarchy
- class \PhpParser\NodeAbstract implements \PhpParser\Node, \PhpParser\JsonSerializable
Expanded class hierarchy of Label
140 string references to 'Label'
- Action::create in core/
modules/ system/ src/ Entity/ Action.php - Constructs a new entity object, without permanently saving it.
- Action::prepareRow in core/
modules/ system/ src/ Plugin/ migrate/ source/ Action.php - Adds additional data to the row.
- BlockContentTypeForm::form in core/
modules/ block_content/ src/ BlockContentTypeForm.php - Gets the actual form array to be built.
- BlockForm::form in core/
modules/ block/ src/ BlockForm.php - Gets the actual form array to be built.
- BlockPluginTrait::submitConfigurationForm in core/
lib/ Drupal/ Core/ Block/ BlockPluginTrait.php - Most block plugins should not override this method. To add submission handling for a specific block type, override BlockBase::blockSubmit().
File
-
vendor/
nikic/ php-parser/ lib/ PhpParser/ Node/ Stmt/ Label.php, line 8
Namespace
PhpParser\Node\StmtView source
class Label extends Stmt {
/** @var Identifier Name */
public Identifier $name;
/**
* Constructs a label node.
*
* @param string|Identifier $name Name
* @param array<string, mixed> $attributes Additional attributes
*/
public function __construct($name, array $attributes = []) {
$this->attributes = $attributes;
$this->name = \is_string($name) ? new Identifier($name) : $name;
}
public function getSubNodeNames() : array {
return [
'name',
];
}
public function getType() : string {
return 'Stmt_Label';
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
Label::$name | public | property | @var Identifier Name |
Label::getSubNodeNames | public | function | |
Label::getType | public | function | |
Label::__construct | public | function | Constructs a label node. |