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

Breadcrumb

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

function Descriptor::getFieldByJsonName

File

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

Class

Descriptor

Namespace

Google\Protobuf\Internal

Code

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