VersionPress\Storages\MetaEntityStorage::extractEntityFromParent PHP Method

extractEntityFromParent() private method

private extractEntityFromParent ( $parentEntity, $joinedKey )
    private function extractEntityFromParent($parentEntity, $joinedKey)
    {
        $splittedKey = $this->splitJoinedKey($joinedKey);
        $entity = [$this->keyName => $this->maybeReplacePlaceholderWithPrefix($splittedKey[$this->keyName]), $this->valueName => $parentEntity[$joinedKey], 'vp_id' => $splittedKey['vp_id'], $this->parentReferenceName => $parentEntity['vp_id']];
        return $entity;
    }