drupflare/worker - v1.0.0
    Preparing search index...

    Function postUpdateRegistered

    • Whether a post-update function is already recorded as run.

      UpdateRegistry::getPendingUpdateFunctions() diffs the available functions against $this->keyValue->get('existing_updates', []), and that key value lives in key_value under collection = 'post_update'. The blob is a serialized ARRAY, so rather than unserialize it this looks for the exact element bytes s:<len>:"<fn>";. The length prefix is what stops a shorter name matching inside a longer one.

      Parameters

      Returns boolean | null

      null when the blob is present but not a serialized array