You are here

class PageContentBlock in Open Social 10.1.x

Same name and namespace in other branches
  1. 10.3.x modules/social_features/social_content_block/modules/social_page_content_block/src/Plugin/ContentBlock/PageContentBlock.php \Drupal\social_page_content_block\Plugin\ContentBlock\PageContentBlock
  2. 10.2.x modules/social_features/social_content_block/modules/social_page_content_block/src/Plugin/ContentBlock/PageContentBlock.php \Drupal\social_page_content_block\Plugin\ContentBlock\PageContentBlock

Provides a content block for pags.

Plugin annotation


@ContentBlock(
  id = "page_content_block",
  entityTypeId = "node",
  bundle = "page",
  fields = {},
)

Hierarchy

Expanded class hierarchy of PageContentBlock

File

modules/social_features/social_content_block/modules/social_page_content_block/src/Plugin/ContentBlock/PageContentBlock.php, line 18

Namespace

Drupal\social_page_content_block\Plugin\ContentBlock
View source
class PageContentBlock extends ContentBlockBase {

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

}

Members

Namesort descending Modifiers Type Description Overrides
ContentBlockBase::supportedSortOptions public function The sort options that are supported for this content block type. Overrides ContentBlockPluginInterface::supportedSortOptions 1
PageContentBlock::query public function Create filtering query. Overrides ContentBlockPluginInterface::query
PluginBase::$configuration protected property Configuration information passed into the plugin. 1
PluginBase::$pluginDefinition protected property The plugin implementation definition. 1
PluginBase::$pluginId protected property The plugin_id.
PluginBase::DERIVATIVE_SEPARATOR constant A string which is used to separate base plugin IDs from the derivative ID.
PluginBase::getBaseId public function Gets the base_plugin_id of the plugin instance. Overrides DerivativeInspectionInterface::getBaseId
PluginBase::getDerivativeId public function Gets the derivative_id of the plugin instance. Overrides DerivativeInspectionInterface::getDerivativeId
PluginBase::getPluginDefinition public function Gets the definition of the plugin implementation. Overrides PluginInspectionInterface::getPluginDefinition 2
PluginBase::getPluginId public function Gets the plugin_id of the plugin instance. Overrides PluginInspectionInterface::getPluginId
PluginBase::isConfigurable public function Determines if the plugin is configurable.
PluginBase::__construct public function Constructs a \Drupal\Component\Plugin\PluginBase object. 98