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

Breadcrumb

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

function EnumDescriptorProto::setOptions

Generated from protobuf field <code>optional .google.protobuf.EnumOptions options = 3;</code>

Parameters

\Google\Protobuf\Internal\EnumOptions $var:

Return value

$this

File

vendor/google/protobuf/src/Google/Protobuf/Internal/EnumDescriptorProto.php, line 149

Class

EnumDescriptorProto
Describes an enum type.

Namespace

Google\Protobuf\Internal

Code

public function setOptions($var) {
    GPBUtil::checkMessage($var, \Google\Protobuf\Internal\EnumOptions::class);
    $this->options = $var;
    return $this;
}

API Navigation

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