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

Breadcrumb

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

function OneofDescriptor::getFieldCount

Return value

int Number of fields in the oneof

File

vendor/google/protobuf/src/Google/Protobuf/OneofDescriptor.php, line 55

Class

OneofDescriptor

Namespace

Google\Protobuf

Code

public function getFieldCount() {
    return count($this->internal_desc
        ->getFields());
}

API Navigation

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