Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save factoryhr/4aac7bd04d6a33fc6e4b609e73450675 to your computer and use it in GitHub Desktop.
Save factoryhr/4aac7bd04d6a33fc6e4b609e73450675 to your computer and use it in GitHub Desktop.
$objects = \Pimcore\Model\Element\Tag::getElementsForTag($tag, ‘object’);
$availableObjects = [];
foreach ($objects as $object) {
$availableObjects[] = $object;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment