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

Breadcrumb

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

function EnumValueOptions::__construct

Constructor.

Parameters

array $data {: Optional. Data for populating the Message object.

@type bool $deprecated Is this enum value deprecated? Depending on the target platform, this can emit Deprecated annotations for the enum value, or it will be completely ignored; in the very least, this is a formalization for deprecating enum values. @type array<\Google\Protobuf\Internal\UninterpretedOption>|\Google\Protobuf\Internal\RepeatedField $uninterpreted_option The parser stores options it doesn't recognize here. See above. }

Overrides Message::__construct

File

vendor/google/protobuf/src/Google/Protobuf/Internal/EnumValueOptions.php, line 49

Class

EnumValueOptions
Generated from protobuf message <code>google.protobuf.EnumValueOptions</code>

Namespace

Google\Protobuf\Internal

Code

public function __construct($data = NULL) {
    \GPBMetadata\Google\Protobuf\Internal\Descriptor::initOnce();
    parent::__construct($data);
}

API Navigation

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