You are here

public function StorageManagerInterface::addField in Paragraph View Mode 2.x

Same name and namespace in other branches
  1. 8 src/StorageManagerInterface.php \Drupal\paragraph_view_mode\StorageManagerInterface::addField()

Add field to the given bundle.

Parameters

string $bundle: Paragraph entity bundle.

Return value

bool True if the field exist or was created successfully.

1 method overrides StorageManagerInterface::addField()
StorageManager::addField in src/StorageManager.php
Add field to the given bundle.

File

src/StorageManagerInterface.php, line 46

Class

StorageManagerInterface
Provides an interface for managing the storage.

Namespace

Drupal\paragraph_view_mode

Code

public function addField(string $bundle) : bool;