public function StorageManagerInterface::addField in Paragraph View Mode 8
Same name and namespace in other branches
- 2.x 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_modeCode
public function addField(string $bundle) : bool;