original_string: private function getFieldLayoutFieldsDefinition(array $fields): array
      {
          $fieldDefinitions = [];
  
          foreach ($fields as $field) {
              $fieldDefinitions[$field->handle] = $field->required;
          }
  
          return $fieldDefinitions;
      }
code: private function getFieldLayoutFieldsDefinition(array $fields): array
      {
          $fieldDefinitions = [];
  
          foreach ($fields as $field) {
              $fieldDefinitions[$field->handle] = $field->required;
          }
  
          return $fieldDefinitions;
      }
code_tokens: private function getFieldLayoutFieldsDefinition ( array $ fields ) : array { $ fieldDefinitions = [ ] ; foreach ( $ fields as $ field ) { $ fieldDefinitions [ $ field -> handle ] = $ field -> required ; } return $ fieldDefinitions ; }
docstring: Get field layout fields definition.
  
  @param FieldInterface[] $fields
  
  @return array
docstring_tokens: Get field layout fields definition .