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

Breadcrumb

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

function Descriptor::getFieldByName

File

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

Class

Descriptor

Namespace

Google\Protobuf\Internal

Code

public function getFieldByName($name) {
    if (!isset($this->name_to_field[$name])) {
        return NULL;
    }
    else {
        return $this->name_to_field[$name];
    }
}
RSS feed
Powered by Drupal