Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linkit-3373153
Manage
Activity
Members
Labels
Plan
Custom issue tracker
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Issue forks
linkit-3373153
Commits
1545562a
Commit
1545562a
authored
11 years ago
by
Emil Stjerneman
Browse files
Options
Downloads
Patches
Plain Diff
Fixed
#2116273
: Fatal error: Class 'LinkitSearchPluginEntity' during Drupal Installation.
parent
65d144a0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
plugins/linkit_search/entity.inc
+6
-0
6 additions, 0 deletions
plugins/linkit_search/entity.inc
with
6 additions
and
0 deletions
plugins/linkit_search/entity.inc
+
6
−
0
View file @
1545562a
...
...
@@ -72,6 +72,12 @@ function linkit_entity_ctools_linkit_get_children($plugin, $parent) {
// Test the plugins.
foreach
(
$plugins
as
$plugin_name
=>
$plugin
)
{
// In some cases the plugins isn't auto loaded. Ctools handle this for us.
// This is typical when installing Linkit.
if
(
!
class_exists
(
$plugin
[
'handler'
][
'class'
]))
{
continue
;
}
$tested_plugin
=
new
$plugin
[
'handler'
][
'class'
](
$plugin
,
new
LinkitProfile
());
if
(
isset
(
$tested_plugin
->
unusable
)
&&
$tested_plugin
->
unusable
)
{
unset
(
$plugins
[
$plugin_name
]);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment