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

Breadcrumb

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

function Descriptor::getField

Same name in this branch
  1. 11.1.x vendor/google/protobuf/src/Google/Protobuf/Internal/Descriptor.php \Google\Protobuf\Internal\Descriptor::getField()

Parameters

int $index Must be >= 0 and < getFieldCount():

Return value

FieldDescriptor

File

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

Class

Descriptor

Namespace

Google\Protobuf

Code

public function getField($index) {
    return $this->getPublicDescriptor($this->internal_desc
        ->getFieldByIndex($index));
}

API Navigation

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