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

Breadcrumb

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

function Descriptor::addField

File

vendor/google/protobuf/src/Google/Protobuf/Internal/Descriptor.php, line 54

Class

Descriptor

Namespace

Google\Protobuf\Internal

Code

public function addField($field) {
    $this->field[$field->getNumber()] = $field;
    $this->json_to_field[$field->getJsonName()] = $field;
    $this->name_to_field[$field->getName()] = $field;
    $this->index_to_field[] = $field;
}

API Navigation

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