graphql_compose-1.0.0-beta20/modules/graphql_compose_blocks/src/Plugin/GraphQLCompose/EntityType/BlockContent.php

modules/graphql_compose_blocks/src/Plugin/GraphQLCompose/EntityType/BlockContent.php
<?php

declare(strict_types=1);

namespace Drupal\graphql_compose_blocks\Plugin\GraphQLCompose\EntityType;

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

/**
 * {@inheritdoc}
 */
#[EntityType(
  id: "block_content",
  prefix: "BlockContent",
  base_fields: [
    "langcode" => [],
    "created" => [],
    "changed" => [],
    "info" => [
      "field_type" => "entity_label",
      "name_sdl" => "title",
    ],
    "reusable" => [],
  ]
)]
class BlockContent extends GraphQLComposeEntityTypeBase {

}

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

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