Re-add syntax highlighting to daily emails and
...ATDC lessons
This commit is contained in:
parent
0d9bb37503
commit
5fbf48d9ac
48 changed files with 186 additions and 165 deletions
|
@ -17,7 +17,7 @@ Why? I didn't like the inconsistency of using one approach for variable names an
|
|||
|
||||
I'd have had code like this with a mixture of both:
|
||||
|
||||
```php
|
||||
```language-php
|
||||
class MyClass {
|
||||
|
||||
private EntityTypeManagerInterface $entityTypeManager;
|
||||
|
@ -31,7 +31,7 @@ class MyClass {
|
|||
|
||||
Or even more simply:
|
||||
|
||||
```php
|
||||
```language-php
|
||||
$entity_type_manager = \Drupal::entityTypeManager();
|
||||
```
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue