Document_Links implements Registerable, Standard_Service

Protects document links inside the library.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Registerable
Standard_Service

Table of Contents

determine_button_display()  : bool
Hide the DLP Grid template "preview" button when the post is locked.
determine_if_linked()  : mixed
Determine if the document title or filename should be linked.
register()  : mixed
{@inheritdoc}

Methods

determine_button_display()

Hide the DLP Grid template "preview" button when the post is locked.

public determine_button_display(bool $display, object $document) : bool
Parameters
$display : bool
$document : object
Tags
Return values
bool

determine_if_linked()

Determine if the document title or filename should be linked.

public determine_if_linked(string $link_destination, Document $document) : mixed
Parameters
$link_destination : string
$document : Document
Tags
Return values
mixed

register()

{@inheritdoc}

public register() : mixed
Tags
Return values
mixed

Search results