PHP code example of attus / entity_base
1. Go to this page and download the library: Download attus/entity_base library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
attus / entity_base example snippets
$entity = \Drupal::service('entity.respository')->loadEntityByUuid($entityTypeId, $entityUuid);