Last active
March 2, 2018 09:20
-
-
Save oskarcalvo/fa1db6e2870a99ec3552baa580111597 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$query = \Drupal::entityQuery('cub'); | |
$result = $query->execute(); | |
$entidades = array_values($result); | |
// object $entidad con todas los registros guardasdos de cub | |
$entidad = entity_load_multiple('cub', $entidades); | |
?> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment