You are here

DemoContent.php in Open Social 10.1.x

File

modules/custom/social_demo/src/Annotation/DemoContent.php
View source
<?php

namespace Drupal\social_demo\Annotation;

use Drupal\Component\Annotation\Plugin;

/**
 * Defines a DemoContent annotation object.
 *
 * @Annotation
 */
class DemoContent extends Plugin {

  /**
   * The plugin ID.
   *
   * @var string
   */
  public $id;

  /**
   * The content type label.
   *
   * @var string
   */
  public $label;

  /**
   * The source file.
   *
   * @var string
   */
  public $source;

  /**
   * The entity type id.
   *
   * @var string
   */
  public $entityType;

}

Classes

Namesort descending Description
DemoContent Defines a DemoContent annotation object.