You are here

public function StorageManagerInterface::addToFormDisplay in Paragraph View Mode 8

Same name and namespace in other branches
  1. 2.x src/StorageManagerInterface.php \Drupal\paragraph_view_mode\StorageManagerInterface::addToFormDisplay()

Add paragraph view mode field to paragraph entity form display.

Parameters

string $bundle: Paragraph entity bundle.

string $form_mode: Form mode machine name.

1 method overrides StorageManagerInterface::addToFormDisplay()
StorageManager::addToFormDisplay in src/StorageManager.php
Add paragraph view mode field to paragraph entity form display.

File

src/StorageManagerInterface.php, line 80

Class

StorageManagerInterface
Provides an interface for managing the storage.

Namespace

Drupal\paragraph_view_mode

Code

public function addToFormDisplay(string $bundle, string $form_mode = 'default') : void;