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

Breadcrumb

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

function Field::setJsonName

The field JSON name.

Generated from protobuf field <code>string json_name = 10;</code>

Parameters

string $var:

Return value

$this

File

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

Class

Field
A single field of a message type.

Namespace

Google\Protobuf

Code

public function setJsonName($var) {
    GPBUtil::checkString($var, True);
    $this->json_name = $var;
    return $this;
}

API Navigation

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