public static function SubstitutionInterface::isApplicable in Linkit 8.5
Checks if this substitution plugin is applicable for the given entity type.
Parameters
\Drupal\Core\Entity\EntityTypeInterface $entity_type: An entity type object.
Return value
bool If the plugin is applicable.
3 methods override SubstitutionInterface::isApplicable()
- Canonical::isApplicable in src/
Plugin/ Linkit/ Substitution/ Canonical.php - Checks if this substitution plugin is applicable for the given entity type.
- File::isApplicable in src/
Plugin/ Linkit/ Substitution/ File.php - Checks if this substitution plugin is applicable for the given entity type.
- Media::isApplicable in src/
Plugin/ Linkit/ Substitution/ Media.php - Checks if this substitution plugin is applicable for the given entity type.
File
- src/
SubstitutionInterface.php, line 34
Class
- SubstitutionInterface
- Interface for substitution plugins.
Namespace
Drupal\linkitCode
public static function isApplicable(EntityTypeInterface $entity_type);