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

Breadcrumb

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

function Descriptor::getFieldByIndex

File

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

Class

Descriptor

Namespace

Google\Protobuf\Internal

Code

public function getFieldByIndex($index) {
    if (count($this->index_to_field) <= $index) {
        return NULL;
    }
    else {
        return $this->index_to_field[$index];
    }
}

API Navigation

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