SilverStripe\Link\Type\Registry::byKey
Find the matching LinkType by its key or null it can't be found.
Signature
public function byKey(string
$key )
Parameters
$key
— string
Returns
- Type|null
public function byKey(string
$key )
$key
—
string