Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dar-otechestvu
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
Open-source
dar-otechestvu
Commits
8e3e853e
Commit
8e3e853e
authored
Dec 29, 2018
by
anton.shloma
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove update module
parent
d27781a6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
dar.info.yml
profiles/dar/dar.info.yml
+0
-1
dar.install
profiles/dar/dar.install
+7
-0
No files found.
profiles/dar/dar.info.yml
View file @
8e3e853e
...
@@ -79,7 +79,6 @@ dependencies:
...
@@ -79,7 +79,6 @@ dependencies:
-
token
-
token
-
toolbar
-
toolbar
-
tour
-
tour
-
update
-
user
-
user
-
video_embed_field
-
video_embed_field
-
video_embed_media
-
video_embed_media
...
...
profiles/dar/dar.install
View file @
8e3e853e
...
@@ -23,4 +23,11 @@ function dar_install() {
...
@@ -23,4 +23,11 @@ function dar_install() {
$node
->
save
();
$node
->
save
();
\Drupal
::
configFactory
()
->
getEditable
(
'system.site'
)
->
set
(
'page.front'
,
'/home'
)
->
save
();
\Drupal
::
configFactory
()
->
getEditable
(
'system.site'
)
->
set
(
'page.front'
,
'/home'
)
->
save
();
$moduleHandler
=
\Drupal
::
service
(
'module_handler'
);
if
(
$moduleHandler
->
moduleExists
(
'update'
))
{
$module_data
=
\Drupal
::
config
(
'core.extension'
)
->
get
(
'module'
);
unset
(
$module_data
[
'update'
]);
\Drupal
::
configFactory
()
->
getEditable
(
'core.extension'
)
->
set
(
'module'
,
$module_data
)
->
save
();
}
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment