SU-SWS/react_paragraphs

View on GitHub
src/Entity/ParagraphsRowType.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%
<?php

namespace Drupal\react_paragraphs\Entity;

use Drupal\paragraphs\Entity\ParagraphsType;

/**
 * Defines the Paragraphs Row type entity.
 *
 * @ConfigEntityType(
 *   id = "paragraphs_row_type",
 *   label = @Translation("Row type"),
 *   handlers = {
 *     "view_builder" = "Drupal\Core\Entity\EntityViewBuilder",
 *     "list_builder" = "Drupal\react_paragraphs\ParagraphsRowTypeListBuilder",
 *     "form" = {
 *       "add" = "Drupal\react_paragraphs\Form\ParagraphsRowTypeForm",
 *       "edit" = "Drupal\react_paragraphs\Form\ParagraphsRowTypeForm",
 *       "delete" = "Drupal\react_paragraphs\Form\ParagraphsRowTypeDeleteForm"
 *     },
 *     "route_provider" = {
 *       "html" = "Drupal\Core\Entity\Routing\AdminHtmlRouteProvider",
 *     },
 *   },
 *   config_prefix = "paragraphs_row_type",
 *   admin_permission = "administer paragraphs row types",
 *   bundle_of = "paragraph_row",
 *   entity_keys = {
 *     "id" = "id",
 *     "label" = "label",
 *     "uuid" = "uuid"
 *   },
 *   config_export = {
 *     "id",
 *     "label",
 *     "description",
 *     "behavior_plugins",
 *   },
 *   links = {
 *     "add-form" = "/admin/structure/paragraphs_row_type/add",
 *     "edit-form" = "/admin/structure/paragraphs_row_type/{paragraphs_row_type}/edit",
 *     "delete-form" = "/admin/structure/paragraphs_row_type/{paragraphs_row_type}/delete",
 *     "collection" = "/admin/structure/paragraphs_row_type"
 *   }
 * )
 */
class ParagraphsRowType extends ParagraphsType implements ParagraphsRowTypeInterface {

}