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

Breadcrumb

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

function EnumOptions::setAllowAlias

Set this option to true to allow mapping different tag names to the same value.

Generated from protobuf field <code>optional bool allow_alias = 2;</code>

Parameters

bool $var:

Return value

$this

File

vendor/google/protobuf/src/Google/Protobuf/Internal/EnumOptions.php, line 113

Class

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

Namespace

Google\Protobuf\Internal

Code

public function setAllowAlias($var) {
    GPBUtil::checkBool($var);
    $this->allow_alias = $var;
    return $this;
}

API Navigation

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