interface CartLinksValidatorInterface in Ubercart 8.4
Utility functions for dealing with Cart Links.
Hierarchy
- interface \Drupal\uc_cart_links\CartLinksValidatorInterface
Expanded class hierarchy of CartLinksValidatorInterface
All classes that implement CartLinksValidatorInterface
2 files declare their use of CartLinksValidatorInterface
- CartLinksForm.php in uc_cart_links/
src/ Form/ CartLinksForm.php - CartLinksSettingsForm.php in uc_cart_links/
src/ Form/ CartLinksSettingsForm.php
File
- uc_cart_links/
src/ CartLinksValidatorInterface.php, line 8
Namespace
Drupal\uc_cart_linksView source
interface CartLinksValidatorInterface {
/**
* Tests a string containing a Cart Link to see if it is syntactically valid.
*
* @param string $link
* String containing a Cart Link.
* @param bool $debug
* Boolean flag to enable/disable debug output. Defaults to FALSE.
*
* @return bool
* TRUE if valid, FALSE if not.
*/
public function isValidSyntax($link, $debug = FALSE);
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CartLinksValidatorInterface:: |
public | function | Tests a string containing a Cart Link to see if it is syntactically valid. | 1 |