Problem/Motivation

When configuring 'Use a custom url' in the view's style options it always outputs the entity's canonical URL.

Steps to reproduce

Create a full calendar view, add a link field, set the link field as the custom URL.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

kubrick created an issue. See original summary.

kubrick’s picture

Status: Active » Needs review
fcertal’s picture

CI is failing due to a PHPCS error:

Drupal.Commenting.FunctionComment.ParamMissingDefinition
Parameter $url is not described in the docblock comment
src/Plugin/views/style/FullCalendar.php around line 511.

This appears to be a coding standards issue only.
The functionality introduced by the MR works as expected in manual testing.

coaston’s picture

it seems it ignores views tokens, so unable to use anything like {{ nid }} for custom link . And now also if I disable custom link and use a default one - it does not work correctly, need to do a rollback of this patch.