missingContent = $missing_content; } /** * Gets missing content information. * * @return array * A list of missing content dependencies. The array is keyed by UUID. Each * value is an array with the following keys: 'entity_type', 'bundle' and * 'uuid'. */ public function getMissingContent() { return $this->missingContent; } /** * Resolves the missing content by removing it from the list. * * @param string $uuid * The UUID of the content entity to mark resolved. * * @return $this * The MissingContentEvent object. */ public function resolveMissingContent($uuid) { if (isset($this->missingContent[$uuid])) { unset($this->missingContent[$uuid]); } return $this; } }