You are here

public function ParagraphInterface::isChanged in Paragraphs 8

Returns a flag whether a current revision has been changed.

The current instance is being compared with the latest saved revision.

Return value

bool TRUE in case the current revision changed. Otherwise, FALSE.

See also

\Drupal\Core\Entity\ContentEntityBase::hasTranslationChanges()

1 method overrides ParagraphInterface::isChanged()
Paragraph::isChanged in src/Entity/Paragraph.php
Returns a flag whether a current revision has been changed.

File

src/ParagraphInterface.php, line 94

Class

ParagraphInterface
Provides an interface defining a paragraphs entity.

Namespace

Drupal\paragraphs

Code

public function isChanged();