graphql_compose-1.0.0-beta20/src/Plugin/GraphQLCompose/EntityType/Node.php

src/Plugin/GraphQLCompose/EntityType/Node.php
<?php

declare(strict_types=1);

namespace Drupal\graphql_compose\Plugin\GraphQLCompose\EntityType;

use Drupal\graphql_compose\Attribute\EntityType;
use Drupal\graphql_compose\Plugin\GraphQLCompose\GraphQLComposeEntityTypeBase;

/**
 * {@inheritdoc}
 */
#[EntityType(
  id: "node",
  prefix: "Node",
  base_fields: [
    "langcode" => [],
    "path" => [],
    "created" => [],
    "changed" => [],
    "published_at" => [],
    "status" => [],
    "promote" => [],
    "sticky" => [],
    "title" => [
      "field_type" => "entity_label",
    ],
  ],
)]
class Node extends GraphQLComposeEntityTypeBase {

}

Главная | Обратная связь

drupal hosting | друпал хостинг | it patrol .inc