https://www.drupal.org/docs/drupal-apis/entity-api/working-with-the-entity-api
Archive for July, 2023
Bermain main dengan API Entity di Drupal
July 28, 2023Mendapatkan url path di Drupal 9
July 27, 2023
$current_path = \Drupal::service('path.current')->getPath();
Ref: https://stefvanlooveren.me/blog/get-current-url-path-alias-drupal-8-9
Melemparkan error 404 page not found di Drupal 9
July 27, 2023throw new \Symfony\Component\HttpKernel\Exception\NotFoundHttpException();
Ref: https://stackoverflow.com/questions/11152227/how-to-throw-404-error-in-drupal-module
Mendapatkan informasi logged-in user di Drupal 9
July 27, 2023Mendapatkan informasi logged-in user di Drupal 9: https://drupal.stackexchange.com/questions/184498/how-do-i-get-the-user-id-for-the-currently-logged-in-user