class ParagraphsBehavior

Defines a ParagraphsBehavior annotation object.

Paragraphs behavior builders handle extra settings for the paragraph entity.

Hierarchy

  • class \Drupal\paragraphs\Annotation\ParagraphsBehavior extends \Drupal\Component\Annotation\Plugin

Expanded class hierarchy of ParagraphsBehavior

12 classes are annotated with ParagraphsBehavior
ParagraphsAccordionPlugin in paragraphs_collection/modules/paragraphs_collection_demo/src/Plugin/paragraphs/Behavior/ParagraphsAccordionPlugin.php
Provides a way to define accordion effect.
ParagraphsAnchorPlugin in paragraphs_collection/modules/paragraphs_collection_demo/src/Plugin/paragraphs/Behavior/ParagraphsAnchorPlugin.php
Provides a Paragraphs Anchor plugin.
ParagraphsBackgroundPlugin in paragraphs_collection/modules/paragraphs_collection_demo/src/Plugin/paragraphs/Behavior/ParagraphsBackgroundPlugin.php
Provides a background image feature plugin.
ParagraphsGridLayoutPlugin in paragraphs_collection/src/Plugin/paragraphs/Behavior/ParagraphsGridLayoutPlugin.php
Provides a way to define grid based layouts.
ParagraphsLanguagePlugin in paragraphs_collection/src/Plugin/paragraphs/Behavior/ParagraphsLanguagePlugin.php
Provides a way to hide specific paragraphs depending on the current language.

... See full list

File

paragraphs/src/Annotation/ParagraphsBehavior.php, line 16

Namespace

Drupal\paragraphs\Annotation
View source
class ParagraphsBehavior extends Plugin {

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

  /**
   * The human-readable name of the paragraphs behavior plugin.
   *
   * @ingroup plugin_translatable
   *
   * @var \Drupal\Core\Annotation\Translation
   */
  public $label;

  /**
   * The plugin description.
   *
   * @ingroup plugin_translatable
   *
   * @var string
   */
  public $description;

  /**
   * The plugin weight.
   *
   * @var int
   */
  public $weight;

}

Members

Namesort descending Modifiers Type Description Overrides
ParagraphsBehavior::$description public property The plugin description.
ParagraphsBehavior::$id public property The plugin ID.
ParagraphsBehavior::$label public property The human-readable name of the paragraphs behavior plugin.
ParagraphsBehavior::$weight public property The plugin weight.