Skip to content

Commit

Permalink
Merge pull request #252 from localgovdrupal/2.x
Browse files Browse the repository at this point in the history
2.1.9 release
  • Loading branch information
andybroomfield authored Mar 5, 2024
2 parents 05995b3 + f5cb449 commit 9aebc16
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public function formAlter(array &$form, FormStateInterface $form_state, $form_id
/**
* Return 'extra field' with list of non-linked child nodes.
*
* @param \Drupal\Node\NodeInterface $node
* @param \Drupal\node\NodeInterface $node
* The `localgov_service_landing` or `localgov_service_sublanding`.
*
* @return array
Expand Down Expand Up @@ -196,7 +196,7 @@ protected function childrenField(NodeInterface $node) {
* Made public as it's prossibly helpful, although it could live in a
* different class?
*
* @param Drupal\Node\NodeInterface $node
* @param \Drupal\node\NodeInterface $node
* The `localgov_service_landing` or `localgov_service_sublanding`.
*/
public static function referencedChildren(NodeInterface $node) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ function localgov_services_status_node_presave(NodeInterface $entity) {
* Implements hook_preprocess_HOOK().
*/
function localgov_services_status_preprocess_node(&$variables) {
/** @var \Drupal\Entity\NodeInterface $node */
/** @var \Drupal\node\NodeInterface $node */
$node = $variables['node'];

if ($node->bundle() == 'localgov_services_landing' && $variables['view_mode'] == 'full') {
Expand Down

0 comments on commit 9aebc16

Please sign in to comment.