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

Breadcrumb

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

function Field::setKind

The field type.

Generated from protobuf field <code>.google.protobuf.Field.Kind kind = 1;</code>

Parameters

int $var:

Return value

$this

File

vendor/google/protobuf/src/Google/Protobuf/Field.php, line 134

Class

Field
A single field of a message type.

Namespace

Google\Protobuf

Code

public function setKind($var) {
    GPBUtil::checkEnum($var, \Google\Protobuf\Field\Kind::class);
    $this->kind = $var;
    return $this;
}

API Navigation

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