When a given file contains PHP code, it must have a PHP extension. In most cases, this is .php, but you can also configure the . htaccess...
Tos Web Developer provides insights, tutorials, and advice around topics including content strategy, design, Drupal Development, Drupal Custom Module Development, Drupal 8 Custom themes, PHP, Server, Twig, and more