Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2.1.9 release #252

Merged
merged 2 commits into from
Mar 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading