You are here

public function BaseUpdateRunner::updateEntityType in Scheduled Updates 8

Return the entity id of the entity type being updated.

Return value

string

Overrides UpdateRunnerInterface::updateEntityType

6 calls to BaseUpdateRunner::updateEntityType()
BaseUpdateRunner::getEntityIdsReferencingReadyUpdates in src/Plugin/BaseUpdateRunner.php
Get all entity ids for entities that reference updates that are ready to run.
BaseUpdateRunner::getReferencingFieldIds in src/Plugin/BaseUpdateRunner.php
Get all field ids that are attached to the entity type to be updated and target this update type.
EmbeddedUpdateRunner::getEmbeddedUpdates in src/Plugin/UpdateRunner/EmbeddedUpdateRunner.php
Return all schedule updates that are referenced via Entity Reference fields.
IndependentUpdateRunner::getReferencingUpdates in src/Plugin/UpdateRunner/IndependentUpdateRunner.php
Get all scheduled updates that referencing entities via Entity Reference Field
LatestRevisionUpdateRunner::getEntityIdsReferencingReadyUpdates in src/Plugin/UpdateRunner/LatestRevisionUpdateRunner.php
This method is overridden because the version in BaseUpdateRunner only needs to get default revisions so does not call $query->allRevisions().

... See full list

File

src/Plugin/BaseUpdateRunner.php, line 329
Contains \Drupal\scheduled_updates\Plugin\BaseUpdateRunner.

Class

BaseUpdateRunner

Namespace

Drupal\scheduled_updates\Plugin

Code

public function updateEntityType() {
  return $this->scheduled_update_type
    ->getUpdateEntityType();
}