Use environment-specific URLs instead of
...hard-coded ones
This commit is contained in:
parent
6ca5704c21
commit
1b05e63a20
76 changed files with 91 additions and 91 deletions
|
@ -37,4 +37,4 @@ $entity_type_manager = \Drupal::entityTypeManager();
|
|||
|
||||
I prefer not to have to consistently think about which to use and, if possible, like to use standard approaches in different codebases whether I'm working on a Drupal project, a Symfony project, or a PHP library.
|
||||
|
||||
Plus, I get to use new PHP features like [promoted constructor properties](https://www.oliverdavies.uk/archive/2023/04/12/cleaner-php-code-with-promoted-constructor-properties) if everything is named in the same format.
|
||||
Plus, I get to use new PHP features like [promoted constructor properties]({{site.url}}/archive/2023/04/12/cleaner-php-code-with-promoted-constructor-properties) if everything is named in the same format.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue