Checks if we can allow reference changes.
Return value
bool
TRUE if we can allow reference changes, otherwise FALSE.
File
- paragraphs/src/Plugin/Field/FieldWidget/ParagraphsWidget.php, line 3029
Class
- ParagraphsWidget
- Plugin implementation of the 'entity_reference_revisions paragraphs' widget.
Namespace
Drupal\paragraphs\Plugin\Field\FieldWidget
Code
protected function allowReferenceChanges() {
return !$this->isTranslating;
}