You are here

PageContentBlock.php in Open Social 10.3.x

File

modules/social_features/social_content_block/modules/social_page_content_block/src/Plugin/ContentBlock/PageContentBlock.php
View source
<?php

namespace Drupal\social_page_content_block\Plugin\ContentBlock;

use Drupal\Core\Database\Query\SelectInterface;
use Drupal\social_content_block\ContentBlockBase;

/**
 * Provides a content block for pags.
 *
 * @ContentBlock(
 *   id = "page_content_block",
 *   entityTypeId = "node",
 *   bundle = "page",
 *   fields = {},
 * )
 */
class PageContentBlock extends ContentBlockBase {

  /**
   * {@inheritdoc}
   */
  public function query(SelectInterface $query, array $fields) {
  }

}

Classes

Namesort descending Description
PageContentBlock Provides a content block for pags.