Add and use a custom Node class
Add and use a custom `Node` class within the custom module, and move the method there for finding the last event date for a talk node.
This commit is contained in:
parent
7e2bd98d93
commit
1a2372f611
4 changed files with 53 additions and 21 deletions
|
@ -8,8 +8,8 @@ parameters:
|
|||
- *TestBase.php
|
||||
checkMissingIterableValueType: false
|
||||
ignoreErrors:
|
||||
- '#Call to an undefined method Drupal\\Core\\Entity\\EntityInterface::get()#'
|
||||
- '#Call to an undefined method Drupal\\Core\\Entity\\EntityInterface::set()#'
|
||||
- '#Call to an undefined method Drupal\\Core\\Field\\FieldItemListInterface::referencedEntities()#'
|
||||
includes:
|
||||
- vendor/mglaman/phpstan-drupal/extension.neon
|
||||
- vendor/phpstan/phpstan-deprecation-rules/rules.neon
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue