Skip to content

Commit

Permalink
Coder.
Browse files Browse the repository at this point in the history
  • Loading branch information
MorganDawe committed Sep 25, 2024
1 parent 1ba7cfa commit 66b9d3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bcelndora.module
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ use Symfony\Component\Routing\Generator\UrlGenerator;
*/
function bcelndora_theme_suggestions_alter(array &$suggestions, array $variables, $hook) {
// Add a views template suggestion for the taxonomy term 'person' vocab.
if (in_array($hook, array('views_view'))) {
if (in_array($hook, ['views_view'])) {
$parameters = \Drupal::routeMatch()->getParameters()->all();
if (isset($parameters['taxonomy_term'])) {
$term = $parameters['taxonomy_term'];
Expand Down

0 comments on commit 66b9d3d

Please sign in to comment.